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

What is Framer? Join the Community
Return to index
Noah Tsutsui
Posted Aug 29 - Read on Facebook

When using a For loop, how do I individually name layers?

2 Comments

Seoh Char

I got an answer just now. I hope that would help you despite my humble english.

Alex Hazel

Or just change the "Name" property for the layers that get created in the loop.

I did something like this in my project

name: "Row " + i

In your click events....you can reference the layers by name using an if statement to check the name of the element being clicked on

Read the entire post on Facebook