Get Map Element
Looks up Key in the connected map and outputs its Value. Found reports whether the key existed; a missing key outputs the default Value. Use this before consuming saved player or object data.
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 3 wire inputs: Exec (exec), Key (any), Map Var Ref (varRef). Produces 3 outputs: Found (bool), Exec Out (exec), Value (any).
Wire inputs
Wires you feed into the gate.
| Display name | Type | Tooltip |
|---|---|---|
| Exec | exec | No tooltip in source |
| Key | any | No tooltip in source |
| Map Var Ref (MapVarRef) | varRef | No tooltip in source |
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Found (bFound) | bool | No tooltip in source |
| Exec Out (ExecOut) | exec | No tooltip in source |
| Value | any | No tooltip in source |
Source details
- Brick asset
- B_1x1_Gate_Exec_MapVar_Get
- Component class
- BrickComponentType_Exec_MapVar_Get
- Kind
- exec
- Family
- MapVar
- Half size
- 5 × 5 × 2