Check whether an audio clip is currently playing.
With no id, reports whether any instance of the clip is playing; with one, only that instance.
id
Audio clip name (case-sensitive).
Optional
Sound instance ID. Omit to ask about the whole group.
true when playing.
true
if (!me.audio.playing("theme")) { me.audio.play("theme", true);} Copy
if (!me.audio.playing("theme")) { me.audio.play("theme", true);}
Check whether an audio clip is currently playing.
With no
id, reports whether any instance of the clip is playing; with one, only that instance.