# GetTarget()

> Returns the Animator that plays the animation graph.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.7/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public Animator GetTarget()
```

### Returns

| Type                                                                | Description                                                                       |
| ------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [Animator](/engine/6000.7/script-reference/unityengine/animator.md) | The targeted [Animator](/engine/6000.7/script-reference/unityengine/animator.md). |
