The -- node in the Actions category reduces the referenced target value by one when it receives an impulse.
Inputs & Outputs
Inputs
Color
|
Label
|
Type
|
|
Decrement
|
Impulse
|
Usage
This node differs from the identically named -- node under Operators since it only makes changes when it receives an impulse. This makes it useful for decrementing a target value (e.g. one stored in a variable node or ValueField) in a way which is saved and synchronized across all users. If the aim is to decrement a value locally as part of a LogiX calculation the -- (LogiX node) (Operators) is likely the better choice.
Examples