# SetTarget(Animator)

> Sets the Animator that plays the animation graph.

## Definition

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

```csharp
public void SetTarget(Animator value)
```

### Parameters

**** (\[Animator]\(/engine/6000.6/script-reference/unityengine/animator)): The targeted [Animator](/engine/6000.6/script-reference/unityengine/animator.md).
