audio.pause
pause(sound_name: string, id: number) → {}
pause the specified sound on all channels
this function does not reset the currentTime property
me.audio.pause("cling");
Name | Type | Attributes | Description |
---|---|---|---|
sound_name | string |
audio clip name - case sensitive |
|
id | number |
<optional> |
the sound instance ID. If none is passed, all sounds in group will pause. |
Type | Description |
---|