# 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: []
```
