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

What is Framer? Join the Community
Return to index
Chris Wang
Posted Apr 12 - Read on Facebook

Hey guys, if I try to select a layer through sublayer hierarchy, I get "undefined" error. I know it's suggested directly select a sublayer by name on Learn page. But if I have several layers that share a common sublayer style, do I have to name each of the sublayers to differentiate them? Can I just select like, Sketch.layerA.overlay, Sketch,.layerB.overlay, Sketch.layerC.overlay?

3 Comments

Koen Bok

Can you share some example code?

Trevor Phillippi

I'm pretty sure the importer works a little differently/smarter now. It adds numbers after the first instance of a unique name, irrespective of grouping.

Chris Wang

Koen, this is what I meant.

Read the entire post on Facebook