Array Variable
Stores an ordered list of values and provides an Array Var Ref for array gates. Use it for players, checkpoints, inventory entries, or any ordered collection.
Brick summary: Allows defining an array variable, which can be modified and read via other Array Variable gates.
Diagram
Ports drawn from the source data: inputs left, outputs right, config inside.
How it's used
Structural overview — derived from this gate's ports, not
from tested behavior. Takes no wire inputs. Produces 1 output: Array Var Ref (arrayVarRef). Configured with 1 property (set on the gate, not wired): Value (struct).
Wire inputs
Wires you feed into the gate.
No wire inputs.
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Array Var Ref (ArrayVarRef) | arrayVarRef | No tooltip in source |
Configuration properties
Set on the gate itself in its properties panel — not wired. Distinct from inputs.
| Display name | Type | Tooltip |
|---|---|---|
| Value | struct | No tooltip in source |
Source details
- Brick asset
- B_1x1_Gate_Variable_Array
- Component class
- BrickComponentType_ArrayVar
- Kind
- pseudo
- Family
- ArrayVar
- Half size
- 5 × 5 × 2