Skip to content

Or

Description

Or Node The Or Node takes two inputs of type integer and performs either a logical or bitwise OR operation on them before providing the result on the Out port.

If the Logical flag is set, the node will consider any non-zero value as "true" and 0 as false for both parameters, and output a 1 if either are true otherwise 0.

If the Logical flag is clear, the node will peform a bitwise OR on the two 16 bit integer parameters, resulting in a 16 bit integer where each bit is set if either parameters have that same bit set.


Ports

A and B
The two input values, they must be linked for the node to be operational and can only be connected to sources that provide an integer value, such as Get.
Out
The output of the node.

Parameters

B
A constant integer value for the right operand, used when the B port is not connected.
Logical
This defines whether the OR is to be performed as a logical or bitwise OR.