or

This block is part of the condition group and was last modified in core v10.4.28.

or v10.4.28

operator for a set of operands is true if and only if one or more of its operands is true

In pins 2
  • condition_1 required
    condition
  • condition_2 required
    condition
Out pins 1
  • condition
    condition

True when at least one connected input pin is exactly boolean true; false otherwise. No truthiness coercion: 1, "true", or non-empty values do NOT count, and unconnected or nil pins count as not-true. Accepts any number of condition pins.

Two == comparisons, one per accepted role, feed one OR block. The OR out pin is true as soon as either comparison matches, and it drives the condition pin of a branch. This is the standard pattern for "any of these values is allowed" logic.

Studio canvas example for the OR block: two checks combined with OR.

Commonly used with

In production blueprints, this block is most often wired together with:

  • ==: feeds into this block. returns true if the two values are equal.
  • branch: this block feeds into it.
  • AND: wired in both directions with this block. operator for a set of boolean operands will be true if and only if all the operands are true.
  • array includes: feeds into this block. determines whether an array includes a certain value among its entries.
  • execute: feeds into this block. Executes the given funcion and waits for it to be executed.
  • get fields: feeds into this block. Gets the selected fields from the given object.

Version history

Introduced in v10.4.28.


Back to condition Return to the main group to view all sub-groups Back to condition Return to the group to view all blocks within this group