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

What is Framer? Join the Community
Return to index
Carl Cooper
Posted Jun 02 - Read on Facebook

What's the difference between AnimationEnd and AnimationStop? I see in the docs that end means reached end point but i'm not really understanding when you would use one over the other. I tried to print out a statement for each one and it seems they happen pretty much at the same time no matter what i make the curve.

2 Comments

Josh Puckett

animation.stop() is a function which stops an animation, Events.AnimationEnd is an event which fires when an animation is finished.

Jordan Robert Dobson

If you never attempt to call AnimationStop then AnimationEnd should resolve naturally instead of being forced to stop by animation.stop().

So if you stop it, it makes sense that AnimationEnd would fire as well.

Read the entire post on Facebook