soundIsPlaying

API -

return function()
    local app = getApp();
    local soundId = app.playSound('myCustomSound', false);
    
    wait(1);
    if app.soundIsPlaying(soundId) == true then
        log('the sound is playing!');
    end
end

Last updated