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

What is Framer? Join the Community
Return to index
Deepak Jose
Posted Sep 06 - Read on Facebook

How can I address sub groups imported from Sketch in Framer?

10 Comments

Stephen Crowley

Should still be able to target a subgroup by name?

Noah Tsutsui

i think subgroups are bubbled up to be a subgroup of the root.

Deepak Jose

I tried myLayer.Groupname.Subgroupname, dint work. is there any other way?

Noah Tsutsui

try myLayer.Subgroupname

Stephen Crowley

Yeah, this ^^ :)

Deepak Jose

That worked. Thanks guys

Noah Tsutsui

IMO, it's kind of a weird implementation. I would actually prefer the myLayer.Group.Subgroup structure.

Deepak Jose

I totally agree with that.

Stephen Crowley

I actually like it. Less cognitive overhead

Cemre Güngör

you can do mylayer.group.subLayers[0]

Read the entire post on Facebook