# SetSpeed<U>(U, double)

> Changes the speed multiplier that is applied to the the current Playable.

## Definition

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

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

```csharp
public static void SetSpeed<U>(this U playable, double value) 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 new speed.

### Remarks

This affects the speed at which the local time is incremented when the [Playable](/engine/6000.7/script-reference/unityengine/playables/playable.md) is playing.

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