# PlayClip(Animator, AnimationClip, out PlayableGraph)

> Creates a PlayableGraph to be played on the given Animator. An AnimationClipPlayable is also created for the given AnimationClip.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Playables](/engine/6000.3/script-reference/unityengine/playables.md)
* **Assembly:** UnityEngine.AnimationModule

## PlayClip(Animator, AnimationClip, PlayableGraph)

```csharp
public static AnimationClipPlayable PlayClip(Animator animator, AnimationClip clip, out PlayableGraph graph)
```

### Parameters

**** (\[Animator]\(/engine/6000.3/script-reference/unityengine/animator)): Target Animator.**** (\[AnimationClip]\(/engine/6000.3/script-reference/unityengine/animationclip)): The AnimationClip to create an [AnimationClipPlayable](/engine/6000.3/script-reference/unityengine/animations/animationclipplayable.md) for.**** (\[PlayableGraph]\(/engine/6000.3/script-reference/unityengine/playables/playablegraph)): The created [PlayableGraph](/engine/6000.3/script-reference/unityengine/playables/playablegraph.md).

### Returns

| Type                                                                                                     | Description                                                                                                                             |
| -------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| [AnimationClipPlayable](/engine/6000.3/script-reference/unityengine/animations/animationclipplayable.md) | A handle to the newly-created [AnimationClipPlayable](/engine/6000.3/script-reference/unityengine/animations/animationclipplayable.md). |
