Skip to content

sound_playing

Check whether a sound is playing. A paused or stopped sound returns false.

Parameters

  • sound — A sound.
if sound_playing(jump) then
print("playing")
end

Related: play_sound.

See the audio guide for more examples and limits.