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

What is Framer? Join the Community
Return to index
Andre Sebastian Tacuyan
Posted Apr 12 - Read on Facebook

Can I put states in states? For example, if one state turns on, how can I make that trigger other states? Thanks!

3 Comments

Joshua Tucker

Hey Andre! There is a few different ways to do it, but here's an example. Added a listener for when one layer changes its state.

http://share.framerjs.com/ml6sdner09se/

Like I said, that's just one way. I'd recommend into looking into the following methods in the documentation that might help you achieve what you're looking for:

– Events (under listen/stop listening)
– Events.StateWillSwitch
– Events.StateDidSwitch

http://framerjs.com/docs/

Andre Sebastian Tacuyan

Thanks Joshua!

Joshua Tucker

Andre Tacuyan Cheers!

Read the entire post on Facebook