Select

Returns one of two specified values depending on a Boolean value.

1378

Inputs/Outputs

datatype_icon

true case

Value that this node returns if selector passes a True value.

true value and false value must be of the same base type, but they can have different numeric representations.

datatype_icon

selector

A Boolean value that determines whether this node returns true value or false value.

True This node returns true value for value.
False This node returns false value for value.

If you wire an error cluster to selector and an error occurs, the error cluster passes a True value to the node. Otherwise, the error cluster passes a False value to the node.

datatype_icon

false case

Value that this node returns if selector passes a False value.

true value and false value must be of the same base type, but they can have different numeric representations.

datatype_icon

output

Value wired to true value or false value depending on the current value of selector.