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

What is Framer? Join the Community
Return to index
Márcio Ribeiro
Posted May 19 - Read on Facebook

Is there a property to keep the original state of the whole prototype? Like if I want to reset all the states of the prototype to default, so I can make a button to call this function. I’m almost sure that I’ve already saw something like it somewhere…


Benjamin Den Boer

Hey Márcio Ribeiro, one way would be to create a little function (resetStates) that sets all of your states back to "default".

Márcio Ribeiro

Thanks Benjamin Den Boer, I'll try that... but I'm think if there's a better way to do that... mainly because in some places of my prototype I had problems using states with dynamic values so I used '.animate' instead of states.

Read the entire post on Facebook