Sound.playing
Check if the sound is playing, a boolean value. If the property is true, the sound is currently playing.
Example
--! luart-extensions
import audio
local sound = audio.Sound("music.mp3")
sound:play()
-- Keep playing the music until it is finished
while sound.playing do
sleep()
end