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

What is Framer? Join the Community
Return to index
Jorge Alvarez
Posted Dec 22 - Read on Facebook

Hey people! What's the best way to create an animation for a state switch that is delayed a tiny bit when it is turned on, but that it is not delayed when it goes back to default? Thanks!

4 Comments

Albert Ramirez Canalias

Probably you can create a state with two variations A and B, with the last one with the same characteristics as the default one.

Jorge Alvarez

But animationOptions apply for every state, right? This is how my thing looks now

# states for the videoelements layer
videoelement.states.add
fullscreen:
opacity: 1

videoelement.states.animationOptions =
time: 0.4
delay: 0.3

Johan Strömgren
Jorge Alvarez

You guys are awesome :)

Read the entire post on Facebook