Gates ›
Loops & Functions ›
Function Output
Function Output
Defines a named output of the containing Function Definition. Each call returns its value after the function body runs.
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 1 wire input: Value (any). Produces no wire outputs. Configured with 3 properties (set on the gate, not wired): Default Value (struct), Port Label (struct), Port Order (int).
Wire inputs
Wires you feed into the gate.
| Display name | Type | Tooltip |
|---|---|---|
| Value | any | No tooltip in source |
Wire outputs
Wires the gate produces.
No wire outputs.
Configuration properties
Set on the gate itself in its properties panel — not wired. Distinct from inputs.
| Display name | Type | Tooltip |
|---|---|---|
| Default Value (DefaultValue) | struct | No tooltip in source |
| Port Label (PortLabel) | struct | No tooltip in source |
| Port Order (PortOrder) | int | No tooltip in source |
Source details
- Brick asset
- B_1x1_Gate_FunctionOutput
- Component class
- BrickComponentType_FunctionOutput
- Kind
- unknown
- Family
- FunctionOutput
- Half size
- 5 × 5 × 2