Skip to content

music_playing

Check whether music is playing. Paused or stopped music returns false.

Parameters

  • music — A music stream.
if music_playing(track) then
print("playing")
end

Related: play_music.

See the audio guide for more examples and limits.