# NotInSelectionHierarchy

> Draw the gizmo if it is not selected and also no parent/ancestor is selected.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
NotInSelectionHierarchy = 2
```
