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

What is Framer? Join the Community
Return to index
Metin Saray
Posted Nov 19 - Read on Facebook

hey guys,

is there a way to include animation under a for loop?

such as:

for count in [1..5]
icons = testLayers3["icon" + count]

iconAnimation = icons.animate
properties:
scale: 1;
time: 0.2;
curve: "spring(70,10)";

but it does not animate.

3 Comments

Amy Casillas

Following... I'm wondering about the semi-colons in your animation - those shouldn't be there, but I don't know that they would prevent it from working (I'm not at my computer).

Benjamin Den Boer

Yes! This is also an easy way to create staggered/delayed animations.

Metin Saray

Thanks Benjamin Den Boer !

Read the entire post on Facebook