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

What is Framer? Join the Community
Return to index
Luke Warda
Posted Oct 04 - Read on Facebook

Howdy, is there an uncomplicated way to set different states.animationOptions for transitions between specific states? I'm particularly interested in different speed of animation for reverse of State1 - State 2


Niels van Hoorn

In addition to the suggestion Jonas did in the other post: you can also set state specific options to be used on every transition to a specific state by defining it like this:
layer.states.stateA =
. x: 100
. options:
. time: 0.5

Now every time you call

layer.animate "stateA"

it will transition to stateA within half a second

Read the entire post on Facebook