Logic Gate: OR

This logic checks whether any one of two events is true. If either or both of the two events are true, the combined event is considered true.

Logic Gate: OR

Input: Boolean (True/False)

Output Type: Boolean (True/False)

Setting up Logic Gate: OR

After dragging the Area Card onto the canvas, click on settings " ⋮ " for detailed instructions.

The Logic Gate: OR serves as a connector for the judgment of two events.

It checks if either or both of the two events are true. If at least one individual event is true, the combined event is considered true.

Note

The Logic Gate: OR can only be used after two event judgments have been made and cannot follow directly after an Object.

For example: Event A (person present) + Event B (cat present) + Logic Gate: OR = Event triggered when either a person or a cat appears on the screen.

Application Example

Monitor and trigger an event when either "a bicycle enters the area" or "a motorcycle enters the area."

Last updated