ReferenceScript nodesVariables
Add to Variable
Adds to a number variable (below 0 takes away).
ƒAdd to Variable
Amount1
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Amountamount | number | 1 | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
NoneRelated
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.