Data / Variables
data/counter
Counter
A stateful counter node that persists its value across executions within the same graph lifecycle.
Note: The counter resets to 0 when the graph is reloaded. Use for things like counting how many times an event fires.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Triggers the operation. |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after the operation. |
value |
number | Current counter value after the operation. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
op |
select | "INCREMENT" |
Operation |
step |
number | 1 |
How much to increment or decrement. |