# NotInSelectionHierarchy

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

## Definition

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

```csharp
NotInSelectionHierarchy = 2
```
