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

What is Framer? Join the Community
Return to index
Liu T
Posted Jan 06 - Read on Facebook

I define a class which contains a layer. Then use Utils.interval to generate instances of the class. Problem is, the newly generated layers are always display on top of other screen elements. I tried to assign Z value to them or use placeBehind, but the problem still exists. Any one could give a help? Thanks.

2 Comments

Benjamin Den Boer

Hmm. Have you tried assigning all instances of classes to a specific superLayer with a pre-defined index value?

Liu T

I create a transparent layer in Sketch, put it at the order I expect and use it as super layer of newly created instances. It works great now. Thanks Ben.

Read the entire post on Facebook