Sound stop

This function stops the sound if it is playing.

Syntax
sound_stop( soundID );

Returns
N/A

Basic
// attack_update.gml // this attack plays a charging sound that stops when you release the charge: if (window == 3 && window_timer == 1) { sound_stop(sound_get( "charging_sound" )); sound_play(sound_get( "release_sound" )); }