> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/soundplaystate.md).

# SoundPlayState

## Overview

SoundPlayState is an Enum that represents the cause of a sound's playback state change. It is used to distinguish the reason for state changes such as play, pause, and stop events on a Sound object.

## Items

| Name           | Value | Description                                                                                                                                  |
| -------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Stopped        | 0     | The state in which sound has been stopped via the `Stop()` method.                                                                           |
| Playing        | 1     | The state in which sound is currently playing.                                                                                               |
| Paused         | 2     | The state in which sound has been paused via the `Pause()` method.                                                                           |
| Ended          | 3     | The state in which sound has automatically ended after playing to completion.                                                                |
| PendingDestroy | 4     | The state in which a sound that was playing due to PlayOnRemove is pending destruction, kept alive until playback finishes and then removed. |
