Gates › Arrays › Array Variable

Array Variable

Pseudo Arrays 0 in 1 out 1 config ⬚ 1x1

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).

No curated example for this gate yet. The shape above is accurate (from the inventory); what it does in practice should be confirmed in-game.

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

From logic_gate_inventory.simple.json @ 9660107, supplemented by gate_docs.json. Documented behavior, not independently tested.