# GetPlayState<U>(U)

> Returns the current PlayState of the Playable.

## Definition

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

## GetPlayState\<T>(T)

```csharp
public static PlayState GetPlayState<U>(this U playable) where U : struct, IPlayable
```

### Parameters

**** (T): The [Playable](/engine/6000.5/script-reference/unityengine/playables/playable.md) used by this operation.

### Returns

| Type                                                                            | Description                                                                                                 |
| ------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [PlayState](/engine/6000.5/script-reference/unityengine/playables/playstate.md) | The current PlayState of the [Playable](/engine/6000.5/script-reference/unityengine/playables/playable.md). |

### Remarks

[PlayState.Playing](/engine/6000.5/script-reference/unityengine/playables/playstate/playing.md): The local time of this [Playable](/engine/6000.5/script-reference/unityengine/playables/playable.md) will be updated during the evaluation of the [PlayableGraph](/engine/6000.5/script-reference/unityengine/playables/playablegraph.md).

[PlayState.Paused](/engine/6000.5/script-reference/unityengine/playables/playstate/paused.md): The local time of this [Playable](/engine/6000.5/script-reference/unityengine/playables/playable.md) will not be updated during the evaluation of the [PlayableGraph](/engine/6000.5/script-reference/unityengine/playables/playablegraph.md).

[PlayState.Delayed](/engine/6000.5/script-reference/unityengine/playables/playstate/delayed.md): The delay is elapsed during the evaluation of the [PlayableGraph](/engine/6000.5/script-reference/unityengine/playables/playablegraph.md), the [Playable](/engine/6000.5/script-reference/unityengine/playables/playable.md) will not start as long as there is still a delay.

Use this templated extension method on any type that inherits from [IPlayable](/engine/6000.5/script-reference/unityengine/playables/iplayable.md).
