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

What is Framer? Join the Community
Return to index
Giovanni Caruso
Posted Oct 27 - Read on Facebook

Hi! Is it possible to apply the same animation (i.e. scale on Click event) to a set of layers inside a list? Did some test with a for loop but I can't understand why the only layer who actually responds to the event is the last one of the list (whatever is the layer I click on).

2 Comments

Philipp Wambach

hey, can you post your loop code, sounds like a js scoping issue

Giovanni Caruso

Hi Philipp. Thank you for pointing me to the right path. Did a quick search on the topic and I've found I was missing a "do (i) - >". Now implementing a switch statement: I bet I'll need some help soon :D

Read the entire post on Facebook