# GetDelay<U>(U)

> Returns the delay of the playable.

## Definition

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

## GetDelay\<T>(T)

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

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

### Parameters

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

### Returns

| Type                                                           | Description           |
| -------------------------------------------------------------- | --------------------- |
| [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.6/script-reference/unityengine/playables/iplayable.md).
