# PrepareFrame(Playable, FrameData)

> This function is called during the PrepareFrame phase of the PlayableGraph.

## Definition

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

```csharp
public virtual void PrepareFrame(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.

### Remarks

PrepareFrame should be used to do topological modifications, change connection weights, time changes , etc.
