Audio.ToggleMute

Audio.ToggleMute ( 

number Channel )

Example 1

Audio.ToggleMute(CHANNEL_BACKGROUND);

Toggles the sound in the background audio channel. If the sound is on, it will be muted; or if it is muted, it will be turned back on.

Example 2

Audio.ToggleMute(CHANNEL_USER1);

Toggles the sound in user channel 1.

See also: Related Actions