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

What is Framer? Join the Community
Return to index
Thierry Meier
Posted Jan 22 - Read on Facebook

Guys, what is the state value of the default state of a Layer? Example: You switch to a different state via layerA.states.switch("foobar"). Now, you want to switch back to the default state you have declared when you created the layer. layerA.states.switch("default") does not work ;p.


Andrew Nalband

Thierry Meier you've got it right, the default state is "default". See this example of switching automatically between the default state and another state on AnimationEnd:

Read the entire post on Facebook