---
title: play()
framework: musickit
role: symbol
role_heading: Instance Method
path: musickit/musicplayer/play()
---

# play()

Initiates playback from the current queue.

## Declaration

```swift
func play() async throws
```

## Discussion

Discussion If playback isn’t underway, this method resumes playback from its paused location; otherwise, this method plays the first available entry from the beginning. If a music player isn’t ready for playback when you call this method, this method prepares the music player and then starts playback.
