# TopLevel

> Only return the topmost selected transform. A selected child of another selected transform will be filtered out.

## Definition

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

```csharp
TopLevel = 1
```
