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

What is Framer? Join the Community
Return to index
Junhyuk Jang
Posted Dec 12 - Read on Facebook

Hi, I'm trying to use array, and there's some question.
I wrote this
item = [a, b, c, d, e, f]
for i in [0..5]
item[i].on Events.Click, (item, i)->
print i
When I click layer 'a', then print a's properties.
But I wanna print "b's properties" instead of a's
How can I change syntex 'print i' ??


Junhyuk Jang

I wrote 'print i+1' but it doesn't work..

Read the entire post on Facebook