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! :)
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 https://framer.com/getstarted/programming/#scope