# speed

> The playback speed of the animation. 1 is normal playback speed.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public float speed { get; set; }
```

### Remarks

A negative playback speed will play the animation backwards.

Additional Resources: [AnimationState.time](/engine/6000.5/script-reference/unityengine/animationstate/time.md), [AnimationState.wrapMode](/engine/6000.5/script-reference/unityengine/animationstate/wrapmode.md) properties and [WrapMode](/engine/6000.5/script-reference/unityengine/wrapmode.md) enum.

### Examples

```csharp
using UnityEngine;
using System.Collections;

public class ExampleScript : MonoBehaviour
{
    public Animation anim;

    void Start()
    {
        // Walk at normal speed
        anim["Walk"].speed = 1.0f;

        // Walk at double speed
        anim["Walk"].speed = 2.0f;
    }
}
```
