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

What is Framer? Join the Community
Return to index
Dae Hyuk Yoon
Posted Aug 14 - Read on Facebook

how do I put delay on a code such as "layer.visible = false"?
I want this this line to execute after fading out animation, but it ignores the fading animation even if I place it at the end.

3 Comments

Dan Carson

Try this:
Utils.delay 1, -> layer.visible = false

Where 1 is the time you want to delay. Replace with whatever delay you need.

Johannes Eckert

if this has to happen after an animation ended, you can do the animation end event, see this example: http://examples.framerjs.com/#animation-chaining-animations.framer

Dae Hyuk Yoon

Thanks guys both of them worked ;)

Read the entire post on Facebook