> For the complete documentation index, see [llms.txt](https://bloodmoon.pseudonova.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bloodmoon.pseudonova.com/events/sound-event.md).

# Sound Event

## Required arguments

| Order | Type    | Argument                 |
| ----- | ------- | ------------------------ |
| 1     | text    | sound-name               |
| 2     | number  | volume                   |
| 3     | pitch   | pitch                    |
| 4     | decimal | percentage of occurrence |

## What it does

Whenever the event is triggered, the mob will play a sound with a specified name, volume and pitch.

## Example usage

```yaml
actions:
  speak:
    events:
      - play-sound UI_TOAST_CHALLENGE_COMPLETE 10 1
    commands: []
```
