Skip to content

Audio_is_playing

hugh greene edited this page Jun 20, 2022 · 1 revision

Notation

Description

Gets whether a sound resource or sound channel is playing. When you play sounds you are returned an id for the channel the sound is playing in, if you hold on to this you can use it to check if that specific instance of a sound is playing. This function will also check if sound resources exist. If either the resource or channel exist, the function returns true.

Parameters

  • sound, id of the sound resource or sound channel

Return Values

Returns whether the sound resource or sound channel is playing.

Example Call

Example of using the function.

NOTOC

Clone this wiki locally