---
title: selectedSpeed
framework: avkit
role: symbol
role_heading: Instance Property
path: avkit/avplayerview/selectedspeed
---

# selectedSpeed

The currently selected playback speed.

## Declaration

```swift
var selectedSpeed: AVPlaybackSpeed? { get }
```

## Discussion

Discussion This value reflects the associated player’s defaultRate property value. If you set the defaultRate to a value that doesn’t match a speed contained in the speeds property, the system sets this value to nil.

## See Also

### Configuring the playback speed

- [speeds](avkit/avplayerview/speeds.md)
- [selectSpeed(_:)](avkit/avplayerview/selectspeed(_:).md)
- [AVPlaybackSpeed](avkit/avplaybackspeed.md)
