Audio.GetVolume

number Audio.GetVolume ( 

number Channel )

Example 1

volume = Audio.GetVolume(CHANNEL_USER3);

Gets the volume of user channel 3 and stores it in a variable called "volume."

Example 2

ch3vol = Audio.GetVolume(3);

Stores the current volume of channel 3 in the ch3vol variable.

Example 3

background_music_volume = Audio.GetVolume(CHANNEL_BACKGROUND);

Gets the volume of the background audio channel and stores it in background_music_volume.

See also: Related Actions