# rootVisualElement

> Retrieves the root visual element of this window hierarchy.

## Definition

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

```csharp
public VisualElement rootVisualElement { get; }
```
