method
Audio.is_playing
Audio.is_playing(id) -> bool
Returns whether the sound id is currently playing. Always false in a headless build.
Example
program Demo {
entry {
let sfx = Audio.load("blip.wav")
if Audio.is_playing(sfx) { print(1) }
}
}