# Toggle

Source: https://help.malighting.com/grandMA2/en/help/key_keyword_toggle.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To go to the Toggle keyword press Temp Temp (= Toggle).

You can also type **Toggle** in the command line or use the shortcut **Tog**

## Description

The Toggle keyword acts as an on or off keyword, depending of the on/off-status of the object or function/mode it is applied to.\
If object or function/mode is on, it turns it off. If object or function/mode is off, it turns it on.

For further information see the keywords [On](/grandma2/key_keyword_on/) and [Off](/grandma2/key_keyword_off/).

Toggle is a function and helping keyword.

## Syntax

Toggle \[Object-list]

\[Function/Mode]Toggle

## Options

To get a list of all options of the keyword Toggle, type the following into the command line:

\[Channel]> Toggle /?

The keyword Toggle has the exact same options as the keyword Goto. 

For further information see the keyword [Goto](/grandma2/key_keyword_goto/). 

## Examples

- To turn the running executor 4 off by using the toggle keyword, type in the command line:

\[Channel]> Toggle Executor 4

 

- To turn the running sequence 1 off by using the toggle keyword, type in the command line:

\[Channel]> Toggle Sequence 1