This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Danny White
Posted Jun 20 - Read on Facebook

Short & sweet question: is there a way to only allow a click event to occur on a layer if that layer is at a particular state?

3 Comments

Danny White

E.g:
buttonLayer.states.switch('ready')
if buttonLayer.states is 'ready' && buttonLayer is clicked, ->
do this...

George Kedenburg III

sure, something like this

Danny White

ah, the ol' nesting technique. Of course. Cheers!

Read the entire post on Facebook