Lingo Dictionary > S > soundEnabled |  |

soundEnabled

Syntax

    the soundEnabled

Description

System property; determines whether the sound is on (`TRUE`, default) or off (`FALSE`).

When you set this property to `FALSE`, the sound is turned off, but the volume setting is not changed.

This property can be tested and set.

Example

This statement sets `soundEnabled` to the opposite of its current setting; it turns the sound on if it is off and turns it off if it is on:

    the soundEnabled = not(the soundEnabled)

See also

`soundLevel`, `volume (sound channel)`, `volume (sprite property)`