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

What is Framer? Join the Community
Return to index
Julio Caunedo
Posted Dec 23 - Read on Facebook

Hi all, I am trying to generate layer with a different name/id in order to manipulate them individually. All generated layers came with the same name and the only one I can reach is the last one. In this case, I did it with a ScrollComponent but it is not needed. How can you generate layers or assign a specific name/id to them? Thank you in advance!

2 Comments

Balraj Chana

Hey Julio, you can assign a name to layer using Layer.name within your loop. Have a look here: http://framerjs.com/docs/#layer.name. If you're importing from Sketch/PS then the names will be assigned automatically. Hope that helps!

Example: http://share.framerjs.com/nlbk72zh0p1z/. Click on a layer to see each name.

Julio Caunedo

Perfect... so simple... learning each day... thanks!

Read the entire post on Facebook