# OR

## Overview

![The Or Node.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-92cb185299f2e472ed804d683141844f9413653e%2Fnode-or2.png?alt=media)

**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 1 | Input 2 | Output |
| ------- | ------- | ------ |
| True    | True    | True   |
| True    | False   | True   |
| False   | True    | True   |
| False   | False   | False  |

[**Scope**](https://docs.incari.com/incari-studio/2022.2/overview#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Or Node Attributes.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-4ab1af207338e3afd5eeee78c7a957068a9f8dfc%2Fnode-or2-attr.png?alt=media)

| Attribute | Type    | Description                                                                                                     |
| --------- | ------- | --------------------------------------------------------------------------------------------------------------- |
| `Count`   | **Int** | The amount of input **Sockets** the **Node** will have (the number of **Boolean** values that will be checked). |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard input **Pulse**, to trigger the execution of the **Node**. |
| `Input [n]`       | **Bool**  | The **Boolean** values to be checked.                                 |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *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

* [**Boolean**](https://docs.incari.com/incari-studio/2022.2/toolbox/math/boolean)
* [**Flow Control**](https://docs.incari.com/incari-studio/2022.2/toolbox/flow-control)

## External Links

* [*Logical operation*](https://www.computerhope.com/jargon/l/logioper.htm) on Computer Hope.
