# Create(PlayableGraph, int)

> Creates an AnimationMixerPlayable in the PlayableGraph.

## Definition

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

```csharp
public static AnimationMixerPlayable Create(PlayableGraph graph, int inputCount = 0)
```

### Parameters

**** (\[PlayableGraph]\(/engine/6000.7/script-reference/unityengine/playables/playablegraph)): The [PlayableGraph](/engine/6000.7/script-reference/unityengine/playables/playablegraph.md) that will contain the new [AnimationMixerPlayable](/engine/6000.7/script-reference/unityengine/animations/animationmixerplayable.md).**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of inputs that the mixer will update.

### Returns

| Type                                                                                                       | Description                                                                                                                                                                                                                     |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AnimationMixerPlayable](/engine/6000.7/script-reference/unityengine/animations/animationmixerplayable.md) | Returns a new [AnimationMixerPlayable](/engine/6000.7/script-reference/unityengine/animations/animationmixerplayable.md) linked to the [PlayableGraph](/engine/6000.7/script-reference/unityengine/playables/playablegraph.md). |
