togglescript

noun
UK /ˈtɒɡəlskrɪpt/
US /ˈtɑːɡəlskrɪpt/

A togglescript is a small set of computer instructions that can be switched on or off.

She turned on the togglescript to make the game show extra stars.


OTHER MEANINGS

2. A script that alternates between two states each time it runs.

The togglescript flipped the light from red to green.

3. A simple coding exercise where a button changes something on and off.

For homework, we wrote a togglescript for a bouncing ball.

4. A setting file that lets a user enable or disable features.

The app reads a togglescript to know which buttons to show.