Number Variable
This node stores and manages numeric values with persistent state.
The Number Variable node provides persistent numeric state storage with get/set operations.
The Number Variable node stores numeric values that persist across application state changes. It provides a central way to manage counters, scores, measurements, and any numeric data in your application.
Inputs
Value Management
| Data | Description |
|---|---|
| Value | Numeric value to store |
Actions
| Signal | Description |
|---|---|
| Set | Sets the variable to the current input value |
Outputs
Current State
| Data | Description |
|---|---|
| Value | Current numeric value stored in the variable |
Events
| Signal | Description |
|---|---|
| Changed | Triggered when the variable value changes |
Usage
Numeric State Management
Number Variables are essential for:
- Counters: Track quantities, scores, or progress
- Measurements: Store dimensions, distances, or sizes
- Configuration: Manage numeric settings and parameters
- Calculations: Store intermediate calculation results
Example Use Cases
- Game Scoring: Track player scores and high scores
- Progress Tracking: Monitor completion percentages
- User Preferences: Store numeric settings like font size, volume
- Data Accumulation: Sum values over time
- State Counters: Track application state changes