audio_stop_all

Stops all the currently playing sounds.

Syntax:

audio_stop_all();


Returns: N/A


Description

This function will stop all sounds that are currently playing.


Example:

if !global.SFX
   {
   audio_stop_all();
   }

The above code checks the global variable "SFX" and if it returns false, it will stop all sounds that are currently playing.


Back: Audio
Next: audio_is_playing
© Copyright YoYo Games Ltd. 2018 All Rights Reserved