gra.toggle
The toggle action can be used for any situation where the next value can be determined based on the current value. This is frequently used for functionality such as checkboxes or buttons.
This action works by targeting a variable and when invoked, the value of that variable is determined and compared against a series of potential values. If a match is found, the variable’s value is set to the next value in the sequence. If no value matches, the first value in the series is used.