# SetTime<U>(U, double)

> Changes the current local time of the Playable.

## Definition

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

## SetTime\<T>(T, double)

```csharp
public static void SetTime<U>(this U playable, double value) where U : struct, IPlayable
```

### Parameters

**** (T): The [Playable](/engine/6000.0/script-reference/unityengine/playables/playable.md) used by this operation.**** (\[double]\(https\://learn.microsoft.com/dotnet/api/system.double)): The current time in seconds.

### Remarks

Use this method to override the next PlayableGraph evaluation of the current time.

Normally, the PlayableGraph updates the current time between Update and LateUpdate (see [Execution Order](/engine/6000.0/manual/scripting/object-oriented-development/managing-update-order/execution-order.md)).

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