Accumulator Building Block

The Accumulator building block maintains a running total of Number values.

An Accumulator building block has one Number input, one ON/OFF input, and one Number output value. Each time the input value changes, the new input value is added to the current output value to create the block's new output value. When the "RESET" input is ON, the output of the Accumulator block will remain at the building block’s initial value.


To configure an Accumulator building block, set the initial value, minimum value, maximum value, and the increment size in the Inspector window.

The output value will be limited by the minimum and maximum values. When the output has reached one of its limits, the block can be configured to leave the output to at the same value, reset the output to the initial value, or set the output to the opposite limit.

If the “RESET” input is not needed, it can be hidden by unchecking the Reset Input option.

In the example to the right, the output of the building block will begin at 0 and will be limited to values greater than or equal to -100 and less than or equal to 100. If a new input value would cause the output to exceed one of its limits, the output will be set to that limit.