ReferenceScript nodesMath › Number
Accumulate
Adds what's plugged in to a total, once each tick it's read.
ƒAccumulate
Value1Result
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Valueadd | number | 1 | – |
Outputs
| Pin | Type |
|---|---|
Resultout | number |
In a graph
◆On Scene Start
ƒAccumulate
Value1Result
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.