---
title: stop()
framework: realitykit
role: symbol
role_heading: Instance Method
path: realitykit/audioplaybackgroupcontroller/stop()
---

# stop()

Stops playback of the audio resource and discards the location in the audio stream.

## Declaration

```swift
@MainActor @preconcurrency func stop()
```

## Discussion

Discussion The next time you call play(), playback starts at the beginning of the stream.
