# OnBehaviourPlay(Playable, FrameData)

> This function is called when the Playable play state is changed to PlayState.Playing.

## Definition

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

```csharp
public virtual void OnBehaviourPlay(Playable playable, FrameData info)
```

### Parameters

**** (\[Playable]\(/engine/6000.5/script-reference/unityengine/playables/playable)): The [Playable](/engine/6000.5/script-reference/unityengine/playables/playable.md) that owns the current PlayableBehaviour.**** (\[FrameData]\(/engine/6000.5/script-reference/unityengine/playables/framedata)): A [FrameData](/engine/6000.5/script-reference/unityengine/playables/framedata.md) structure that contains information about the current frame context.
