# depth

> The depth refers to how many ancestors this item has, and corresponds to the number of horizontal ‘indents’ this item has.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.7/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public virtual int depth { get; set; }
```
