audio_sound_get_loop

This function returns whether the given sound instance being played is set to loop.

 

Syntax:

audio_sound_get_loop(index);

ArgumentTypeDescription
indexSound Instance IDThe index of the sound instance

 

Returns:

Boolean

 

Example:

var _loop = audio_sound_get_loop(snd_car);

The above code calls audio_sound_get_loop on an existing sound asset snd_car and stores the result in a temporary variable _loop.