Skip to content

Toggle Variable ​

VariablesVariable.Toggle

Flip a bool variable.

Flips an On/Off variable: the basic action of a switch. It only works on On/Off variables.

Don't toggle a synced variable inside On Variable Changed of a synced variable: every player who receives the change toggles it again, so the result depends on how many players there are. Tripwire warns about this.

Settings

NameTypeDefault
VariableVariable

On a card

WhenInteract⋯
What to do
Toggle Variable⋯
Variable(pick)
+ Add what to do

In the same category