# GetAnimatedObject(GameObject, EditorCurveBinding)

> Retrieves the animated object that the binding points to.

## Definition

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

```csharp
public static Object GetAnimatedObject(GameObject root, EditorCurveBinding binding)
```

### Parameters

**** (\[GameObject]\(/engine/6000.3/script-reference/unityengine/gameobject)): **** (\[EditorCurveBinding]\(/engine/6000.3/script-reference/unityeditor/editorcurvebinding)):&#x20;

### Returns

| Type                                                            | Description |
| --------------------------------------------------------------- | ----------- |
| [Object](/engine/6000.3/script-reference/unityengine/object.md) |             |
