Sound.pause

Pause the sound playback. You may halt paused sounds.

class Sound
static
void
pause
(
int channel = -1
)

Parameters

channel
Type: int

Channel to stop playing, or -1 for all channels. Note: Sound can only be paused if it is actively playing.

Meta