The documentation for AACS and the CodeEditor.
This instruction plays a sound effect.
Name | Type | Description | Required | Default Value |
---|---|---|---|---|
Name | String | The name of the sound effect. | ✓ | - |
Delay | Number | Waits this amount of miliseconds before actually playing the sound. | ✗ | 0 |
Loop | Boolean | Determines whether the sound should loop or not. | ✗ | false |
1: PS:["GavelSlam"|300];
1: PlaySound:["Clap"|0|true];
1: PS:["Chalkboard"];
If Delay
is set to anything below 10, it will be interpreted as 10. The only exception is the value 0.