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

What is Framer? Join the Community
Return to index
Julio Radesca
Posted Jun 10 - Read on Facebook

Quick question:
Say I add states to a layer:
A: {width: 100}
B: {width: 150}
C: {width: 200}

Then I switch to one of the added states:

How do I switch back to the initial state, the one that no name was given?


Benjamin Den Boer

Hey Julio - the initial state is called "default" → layerA.states.switch("default") will do the trick.

Julio Radesca

Awesome. Thks Ben!

Read the entire post on Facebook