# SetDelay<U>(U, double)

> Set a delay until the playable starts.

## Definition

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

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

> **Warning:**
>
> **Removed.** SetDelay is obsolete; use a custom ScriptPlayable to implement this feature

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

### Parameters

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

### Remarks

The delay is **not** multiplied by the speed of the playable because it happens before the playable starts.

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