OR

Overview

OR is a logical operator Node, which combines two or more Boolean expressions to yield a Boolean value, based on the inputs' logical relationship to one another. The Node outputs a true value if at least one of its inputs is true. Otherwise, it outputs false.

This is the equivalent of the || operator in computer programming.

Input 1Input 2Output

True

True

True

True

False

True

False

True

True

False

False

False

Scope: Project, Scene, Function, Prefab.

Attributes

AttributeTypeDescription

Count

Int

The amount of input Sockets the Node will have (the number of Boolean values that will be checked).

Inputs

InputTypeDescription

Pulse Input (►)

Pulse

A standard input Pulse, to trigger the execution of the Node.

Input [n]

Bool

The Boolean values to be checked.

Outputs

OutputTypeDescription

Pulse Output (►)

Pulse

A standard output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.

Output

Bool

True if one or more of the input Boolean values are also true. Otherwise false.

See Also

Last updated