# GetOutputByType<T>(int)

> Get PlayableOutput of the requested type at the given index in the graph.

## Definition

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

```csharp
public PlayableOutput GetOutputByType<T>(int index) where T : struct, IPlayableOutput
```

### Parameters

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

### Returns

| Type                                                                                      | Description                                                                                                                                                                                                                                    |
| ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [PlayableOutput](/engine/6000.7/script-reference/unityengine/playables/playableoutput.md) | The [PlayableOutput](/engine/6000.7/script-reference/unityengine/playables/playableoutput.md) at the given index among all the [PlayableOutput](/engine/6000.7/script-reference/unityengine/playables/playableoutput.md) of the same type `T`. |
