# GetWeight<U>(U)

> Returns the weight of the connection from the PlayableOutput to the source playable.

## Definition

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

## GetWeight\<T>(T)

```csharp
public static float GetWeight<U>(this U output) where U : struct, IPlayableOutput
```

### Parameters

**** (T): The [PlayableOutput](/engine/6000.0/script-reference/unityengine/playables/playableoutput.md) used by this operation.

### Returns

| Type                                                          | Description                                          |
| ------------------------------------------------------------- | ---------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The weight of the connection to the source playable. |

### Remarks

The details are specific to the type of PlayableOutput. For Example, in AnimationPlayableOutput, the weight determines how multiple outputs targeting animator will blend together.
