# GetInputStream(int)

> Gets the AnimationStream of the playable input at index.

## Definition

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

```csharp
public AnimationStream GetInputStream(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The input index.

### Returns

| Type                                                                                         | Description                                                                                                                                                                                                     |
| -------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AnimationStream](/engine/6000.5/script-reference/unityengine/animations/animationstream.md) | Returns the [AnimationStream](/engine/6000.5/script-reference/unityengine/animations/animationstream.md) of the playable input at `index`. Returns an invalid stream if the input is not an animation Playable. |

### Remarks

Additional Resources: [AnimationStream.inputStreamCount](/engine/6000.5/script-reference/unityengine/animations/animationstream/inputstreamcount.md).
