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

What is Framer? Join the Community
Return to index
Vishal Iyer
Posted Jun 23 - Read on Facebook

While importing a Sketch file with an Artboard, how do you move a layer to the root level (same as that of the artboard).

I see 'layer.superLayer = Framer.Device.screen' used in the Artboard template, but this seems to move it out of the layer structure altogether, which I don't want because I still want to be able to control its layer hierarchy.

I've hacked it by separately importing the asset into Framer that brings it at the root level, but its not as efficient.

1 Comments

Jonas Treub

layer.parent = nil # moves a layer to the top of the hierarchy

Read the entire post on Facebook