# hierarchyMode

> Is the Editor GUI in hierarchy mode?

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool hierarchyMode { get; set; }
```

### Remarks

In hierarchy mode, [EditorGUI.Foldout](/engine/6000.5/script-reference/unityeditor/editorgui/foldout.md) controls are positioned with the foldout triangle to the left of the specified [Rect](/engine/6000.5/script-reference/unityengine/rect.md) for the control, rather than being inside the Rect. This way, the label of the foldout is aligned together with labels of other Editor GUI controls.
