Skip to content

Add To Variable ​

VariablesVariable.Add

Add to an Integer or Number variable.

Adds Amount to an integer or number variable; use a negative amount to subtract. For counting scores and presses.

Added to a synced variable, the new total reaches everyone. Don't add to a synced variable inside On Variable Changed of a synced variable: every player who receives the change adds again, once per player. Tripwire warns about this.

Settings

NameTypeDefault
VariableVariable
AmountNumber

On a card

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

In the same category