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

What is Framer? Join the Community
Return to index
Caitlin Charniga
Posted Jul 22 - Read on Facebook

is it possible to have different animations options for each state in a layer?

3 Comments

Jordan Robert Dobson

Yes there is a shorthand you can pass when you call switch on the state. Do a search in this group. Not sure if it made it to the docs yet.

Joshua Tucker

Yes!

layer.states.switch "state", {curve: "spring(200, 20, 1)"}

curve of course can be set to whatever you want.

Caitlin Charniga

Perfect!

Read the entire post on Facebook