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

What is Framer? Join the Community
Return to index
Jaime De Ascanio
Posted Jun 03 - Read on Facebook

Hello guys, I have imported a sketch file into framer with two parent groups, Card_1 and Card_2 but inside they both have the same layer groups, is there any way to select those subLayers, doing something like "myLayers.Card_1.Photo" and "myLayers.Card_2.Photo" or I have to renamed them?

2 Comments

Daniel Maniés

You have to rename them for example like "c1TopInfo"

Balraj Chana

You can target the Photo subLayer by using: myLayers.Card_1.subLayers[2]. Try not to mix underscore with camelcase when naming layers. Camelcase is preferred as it's consistent with both JS and Framer

Read the entire post on Facebook