---
title: speed
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/blendtreeanimation/speed
---

# speed

A factor that increases or decreases the animation’s rate of playback.

## Declaration

```swift
var speed: Float { get set }
```

## Discussion

Discussion The default value is 1.0, which doesn’t alter the animation’s rate of playback. A value of 2.0 plays the animation at twice the normal rate, and a speed of 0.5 makes the animation finish after twice the normal time. A negative value plays the animation in reverse. This property doesn’t affect the animation’s delay.

## See Also

### Timing the animation

- [delay](realitykit/blendtreeanimation/delay.md)
- [duration](realitykit/blendtreeanimation/duration.md)
- [offset](realitykit/blendtreeanimation/offset.md)
- [trimDuration](realitykit/blendtreeanimation/trimduration.md)
- [trimStart](realitykit/blendtreeanimation/trimstart.md)
- [trimEnd](realitykit/blendtreeanimation/trimend.md)
