This function returns the ID of the audio group the given sound asset or sound instance belongs to.
audio_sound_get_audio_group(sound_index);
Argument | Type | Description |
---|---|---|
sound_index | Sound Asset or Sound Instance ID | The index of a sound asset or instance |
var _group = audio_sound_get_audio_group(snd_animal);
The above code gets the ID of the audio group assigned to the sound snd_animal and stores it in a temporary variable _group.