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

What is Framer? Join the Community
Return to index
Shane Brown
Posted Oct 19 - Read on Facebook

How do I get an object to endlessly animate? I have tried using the AnimationEnd & AnimationStop events to retrigger but they don't seem to work.

eg.

layerA = new Layer()

animationA = new Animation({
layer: layerA,
properties: {rotationZ:360, time: 10}
})

animationA.start()
animationA.on Events.AnimationStop, ->
animationA.start()

2 Comments

Koen Bok

You can just use the "repeat" keyword with a large number or -1.

Shane Brown

Thanks!

Read the entire post on Facebook