# root

> The GameObject root of the animated hierarchy. (Read Only)

## Definition

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

```csharp
public GameObject root { get; }
```

### Remarks

The root is set by the constructor (See: ctor).

You can bind a property from the root, or any of its children. To bind a property, use one of the following methods: [GameObjectRecorder.BindComponent](/engine/6000.5/script-reference/unityeditor/animations/gameobjectrecorder/bindcomponent.md), [GameObjectRecorder.BindComponentsOfType](/engine/6000.5/script-reference/unityeditor/animations/gameobjectrecorder/bindcomponentsoftype.md), [GameObjectRecorder.BindAll](/engine/6000.5/script-reference/unityeditor/animations/gameobjectrecorder/bindall.md), or [GameObjectRecorder.Bind](/engine/6000.5/script-reference/unityeditor/animations/gameobjectrecorder/bind.md).
