# Z-index

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.&#x20;

<div><figure><img src="/files/9ZAknASh2VNjOu1P2Avl" alt=""><figcaption></figcaption></figure> <figure><img src="/files/N73fakFrapmRDGTMBqVf" alt=""><figcaption></figcaption></figure></div>

When a player is **above** the z-index line, they will appear **behind** the element.

<figure><img src="/files/DvQzL0tLAbOG6vcjMChz" alt=""><figcaption></figcaption></figure>

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.

<figure><img src="/files/iBiSXzMlL5FWGFs5VT4w" alt=""><figcaption></figcaption></figure>

Placing the z-index low at the base of the element will make the element appear as if it is sitting in the world.

<figure><img src="/files/semDdFypUQBM8A6cqk5u" alt=""><figcaption></figcaption></figure>

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bueno.art/buenoverse/fundamentals/elements/z-index.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
