# GetLeadTime<U>(U)

> Returns the Playable lead time in seconds.

## Definition

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

## GetLeadTime\<T>(T)

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

### Parameters

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

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) |             |

### Remarks

`PrepareData()` is called when the lead time is greater than the [Playable](/engine/6000.5/script-reference/unityengine/playables/playable.md) delay.

Additional Resources: [PlayableExtensions.SetLeadTime](/engine/6000.5/script-reference/unityengine/playables/playableextensions/setleadtime.md), [PlayableExtensions.SetDelay](/engine/6000.5/script-reference/unityengine/playables/playableextensions/setdelay.md).

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