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

What is Framer? Join the Community
Return to index
Anton Phil
Posted Aug 10 - Read on Facebook

hey everyone,

do you know how to use arrays in animations?
I want to use one animation for different layers but don't know how the animation code should look like..

here's an example:

only the last square is turning black.

Thank you! :)


Aalok Trivedi

use 'this.animate' or '@animate' inside the click event. 'this' refers to whatever object in the array you clicked on. Check out the scope section on the framer site

Read the entire post on Facebook