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

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

Hi guys. Help needed :) Given a for loop to generate 3 cards, what is the best way to target each card independently within the loop (i.e. on Events.Click)?


Văn Công Bằng

Use "this" or @ in coffeescript.
for i in layers
i.on Events.TouchStart, ->
print @.y

Giovanni Caruso

Thanks!!! :)

Read the entire post on Facebook