beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

Accumulator Op

Ops.Math.Accumulator


Accumulator
Namespace: Ops.Math

Op author: pandur

Add to and multiply a number, set to current value


summary (oneliner)

Handy when used with devices like gamepads or counters



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Trigger in (Trigger)

Trigger the op


Add to number (Number)

this number will be added to the current number. Accepts positive and negative values


Multiplier to add number (Number)

Multiplies "add to number" by this amount


Default Value (Number)

When "set default value" is triggered this sets the current number


Set Default Value (Trigger)

Trigger this to make the current number the "default value"


Outputs

Current value (Number)

The current number


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Accumulator op example file

Open Example In Editor


Patches using Accumulator