Type Function Library audio.* Return value Boolean Revision 2019.3504 Keywords audio, play See also audio.isChannelActive() audio.pause() audio.play()
true if the specified channel is currently playing;
false if otherwise.
audio.isChannelPlaying( channel )
Number. The channel you want to know is playing or not.
local isChannel1Playing = audio.isChannelPlaying( 1 ) if isChannel1Playing then audio.pause( 1 ) end