The Toggle building block changes its output to the opposite value each time its input turns ON.
A Toggle building block has one ON/OFF input and one ON/OFF output. If the output is currently OFF and the input is turned ON, then the output will be changed to ON. If the output is currently ON and the input is turned ON, then the output will be changed to OFF.
A Toggle building block may be configured to initially start with an ON or OFF output value. It may also be configured to have a "RESET" input. When the "RESET" input is turned ON, the output of the Toggle building block will be set to its initial value.
In the example to the right, the Toggle building block will start with its output turned ON and will have a RESET input.