# GetInputWeight(int)

> Gets the weight of the Playable connected at a specific input index.

## Definition

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

```csharp
public float GetInputWeight(int index)
```

### Parameters

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

### Returns

| Type                                                          | Description                                                                                                               |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | Returns the weight of the [Playable](/engine/6000.6/script-reference/unityengine/playables/playable.md) input as a float. |

### Remarks

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