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

What is Framer? Join the Community
Return to index
Ni Yan
Posted Mar 31 - Read on Facebook

Hi everyone! I'm new to Framer, but I love it so far! I have a question about the "states.next()" - is there a way to set the time duration for it? I know I can set the time and animation when using "states.switch()", but I don't know if I have any control over the default animation for "states.next()". thanks!

1 Comments

Benjamin Den Boer

Hey Ni Yan, yes! You can define animationOptions for all of the states of a layer like this, too:

layerA.states.animationOptions = time: 2

Read the entire post on Facebook