Or

logic · C096 · starter-package 7.0.1

Combine Boolean values and Fire signals. Return true when any condition is true.

Behavior

Returns true when at least one connected condition is true. With the default two operands, the result is A OR B.

Connect each visible input A through P to a Boolean value or a Fire output. You can mix the two. A Fire connection counts as true when its branch fires. If its source chooses another branch or is itself skipped by a closed branch, the connection counts as false.

Common uses

Connect the True outputs from two independent If blocks to A and B. Or returns true when either or both branches fire. If neither fires, the result is false. Connect Result to If to branch on the answer. Connecting the separate Fire input of this block controls whether the block itself runs.

Dynamic inputs

This table shows which inputs can be added or removed in the editor and which saved limits apply.

PropertyValue
Input IDsa, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p
LabelsA, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P
Typeboolean
Minimum count1
Initially visible2
Maximum count16
Each visible input requiredtrue
Multiple connections per inputfalse
Automatic type conversionfalse

Errors and limits

A missing or wrongly typed input produces an error. Connect a Boolean value or Fire output to every visible letter. An unwired operand or a failure in a source block raises an error.

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Outputresult — Resultbooleanon success