> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/filldepthmodetype.md).

# FillDepthModeType

## Overview

FillDepthModeType is an Enum that specifies the depth rendering mode of a UI element. It is used as the FillDepthModeType property in GuiBase and related UI classes, and determines how an element is displayed when occluded by other 3D objects.

## Items

| Name                   | Value | Description                                                   |
| ---------------------- | ----- | ------------------------------------------------------------- |
| AlwaysOnTop            | 0     | Always displayed on top and is not occluded by other objects. |
| VisibleWhenNotOccluded | 1     | Only displayed when not occluded by other objects.            |
| VisibleWhenOccluded    | 2     | Only displayed when occluded by other objects.                |

## See also

{% content-ref url="/pages/fYpWI43BQ1i5qBPCzGKA" %}
[Fill](/development/api-reference/classes/fill.md)
{% endcontent-ref %}
