Gates › Loops & Functions › Function Output

Function Output

Unclassified Loops & Functions 1 in 0 out 3 config ⬚ 1x1

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

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.

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

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