Z-index
Last updated
Last updated
An important concept for making elements feel immersive is where the z-index is set. A good rule of thumb is to set it right where the "ground" should be for that image.
To edit the z-index, you can select your object and directly modify it with the red z-index line.
When a player is above the z-index line, they will appear behind the element.
By placing the z-index near the top of an element, you can create elements that players can walk entirely on top of; this will make them appear as though they are flat on the ground.
Placing the z-index low at the base of the element will make the element appear as if it is sitting in the world.
When editing elements, getting the z-index set correctly will make your world feel more immersive and alive. We recommend playing around with it until it feels right for each element.