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

What is Framer? Join the Community
Return to index
Eric Eisher
Posted Mar 30 - Read on Facebook

QQ: Why does the Z index seem to displace a Layer's X, Y, and Scale properties?
As an example:
If LayerA = x:0, y:0, z:0 and LayerB = x:0, y:0, z:100... LayerB will be larger and in a different position than Layer A.

3 Comments

Kees Plattel

Cause it's the Z coordinate (depth). Not Z-index (CSS thingy). Those are two different things: http://framerjs.com/docs/#layer.z

Marc Krenn

Hey Eric,
that's because "z" moves a layer along the z-axis through three-dimensional space, either bringing it either closer to or moving it further away from the camera/observer.

To re-order multiple layers (that are all at the default z = 0) just use 'index'. The higher a layer's index, the more "on top" it is.

Eric Eisher

Awesome. Thanks.

Read the entire post on Facebook