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

What is Framer? Join the Community
Return to index
Harshad Kulkarni
Posted Mar 10 - Read on Facebook

Need help...
How do I access layer group in a group? I have imported file from sketch.
Below is a quick example. I want to access ContentA and ContentB. Can some one please help. Thanks in advance.

main
Group1
ContentA
Group 2
ContentB

3 Comments

Debashish Paul

As per your example,

You can access
ContentA —
sketch.Group1.subLayers
ContentB —
sketch.Group2.subLayers (considering "sketch" is the name of imported Sketch object)
However, if you have more layers in these groups then it will return you all the layers at once. Use an array to manage more layers.

Harshad Kulkarni

Thanks Deb. Also you can access sketch.ContentA

Harshad Kulkarni

This works too...

Read the entire post on Facebook