# AnimationPlayableOutput

> A IPlayableOutput implementation that connects the PlayableGraph to an Animator in the Scene.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.Animations](/engine/6000.7/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule
* **Implements:** [IPlayableOutput](/engine/6000.7/script-reference/unityengine/playables/iplayableoutput.md)

```csharp
public struct AnimationPlayableOutput : IPlayableOutput
```

## Remarks

**NOTE:** You can use [PlayableOutputExtensions](/engine/6000.7/script-reference/unityengine/playables/playableoutputextensions.md) methods on AnimationPlayableOutput objects.

## Methods

| Method                                                                                                                                 | Description                                                                                                                                            |
| -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [GetAnimationStreamSource](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput/getanimationstreamsource.md) | Gets the stream source of the specified [AnimationPlayableOutput](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput.md).  |
| [GetSortingOrder](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput/getsortingorder.md)                   | Gets the priority index of the specified [AnimationPlayableOutput](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput.md). |
| [GetTarget](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput/gettarget.md)                               | Returns the [Animator](/engine/6000.7/script-reference/unityengine/animator.md) that plays the animation graph.                                        |
| [SetAnimationStreamSource](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput/setanimationstreamsource.md) | Sets the stream source for the specified [AnimationPlayableOutput](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput.md). |
| [SetSortingOrder](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput/setsortingorder.md)                   | Sets the sorting order for the specified [AnimationPlayableOutput](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput.md). |
| [SetTarget](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput/settarget.md)                               | Sets the [Animator](/engine/6000.7/script-reference/unityengine/animator.md) that plays the animation graph.                                           |

## Static Methods

| Method                                                                                             | Description                                                                                                                                                                                                             |
| -------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Create](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput/create.md) | Creates an [AnimationPlayableOutput](/engine/6000.7/script-reference/unityengine/animations/animationplayableoutput.md) in the [PlayableGraph](/engine/6000.7/script-reference/unityengine/playables/playablegraph.md). |
