Gates ›
Bricks & Components ›
Add Component
Add Component
Adds a component of the selected type to the brick when executed and outputs a reference to it, or to the one already there.
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 2 wire inputs: Brick (brick), Exec (exec). Produces 2 outputs: Component (any), Exec Out (exec). Configured with 1 property (set on the gate, not wired): Component Type (object).
Technical details — ports, config & source
Wire inputs
Wires you feed into the gate.
| Display name | Type | Tooltip |
|---|---|---|
| Brick | brick | No tooltip in source |
| Exec | exec | No tooltip in source |
Wire outputs
Wires the gate produces.
| Display name | Type | Tooltip |
|---|---|---|
| Component | any | No tooltip in source |
| Exec Out (ExecOut) | exec | No tooltip in source |
Configuration properties
Set on the gate itself in its properties panel — not wired. Distinct from inputs.
| Display name | Type | Tooltip |
|---|---|---|
| Component Type (ComponentType) | object | No tooltip in source |
Source details
- Brick asset
- B_1x1_Gate_Exec_AddComponent
- Component class
- BrickComponentType_Exec_AddComponent
- Kind
- exec
- Family
- —
- Search tags
- component add attach create brick light applicator
- Half size
- 5 × 5 × 2