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

What is Framer? Join the Community
Return to index
Chris Keith
Posted May 20 - Read on Facebook

im sure there's something very simple im missing here.

im using a for loop to make a few shapes and have them animate indefinitely. The problem is everything animates down but then only the last item in the loop will continue the animation sequence.

how to i make it so they all do it?

i attached a screen cap of my code for evaluation. thanks!

2 Comments

Chris Keith

i also tried this with states and kept running into the same issue

Trevor Phillippi

use the do() function. So you could write your "onAnimationEnd" functions in

do (barMove, barReturn) ->
---- barMove.onAnimationEnd -> ....
---- barReturn.onAnimationEnd -> ....

Read the entire post on Facebook