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

What is Framer? Join the Community
Return to index
Dan Clarke
Posted Jul 29 - Read on Facebook

Hi everyone, getting in to superLayers, however, the subLayer seems to be 'hidden' by the superLayer when I instantiate it?

7 Comments

Andreas Wahlström

Try adding clip:false to your superLayer. Now it probably hides what's outside of the 200x100 bounds. keep in mind that the x,y is relative to the position of the super layer.

Dan Clarke

Oh Damn! it was the relative position of x,y! so simple! Thanks Andreas Wahlström

Dan Clarke

if I'm using subLayers and then use the .copy() function on the superLayer, will it copy subLayers too?

Dan Clarke

will a layers additional states also copy? I am writing a function for this but no luck on it working....

Dan Clarke

button1.on Events.Click, ->
display.Screen2.states.next()

Andreas Wahlström

doesn't seem like it, no.

Read the entire post on Facebook