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

What is Framer? Join the Community
Return to index
Fran Pérez
Posted Feb 04 - Read on Facebook

Is there any way to access sub layers through their parent?

parent.layer.doSomething()
otherParent.layer.doSomething()

3 Comments

Fran Pérez

Ok, I'm using .subLayersByName("name")

Koen Bok

Or like this for pros:

_.invoke(_.filter(layer.subLayers, (l) -> l.visible is false), "doSomething")

Fran Pérez

Thanks Koen :)

Read the entire post on Facebook