> For the complete documentation index, see [llms.txt](https://docs.overthereality.ai/over-sdk-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overthereality.ai/over-sdk-manual/over-visual-scripting-legacy/nodes/operations/conditional.md).

# Conditional

### Description

The Conditional nodes provide several operations, specifically used for evaluating boolean properties.

#### Comparators

Comparators, much like in the plain coding, allow comparison of diffent data types.

Each of these nodes accept two parameters as input, and provide a boolean output.

<table><thead><tr><th width="204">Node</th><th>Description</th></tr></thead><tbody><tr><td>Equal</td><td>Returns <code>True</code> if the two inputs are equal</td></tr><tr><td>Not Equal</td><td>Returns <code>True</code> if the two inputs are not equal</td></tr><tr><td>Greater Than</td><td>Returns <code>True</code> if the first input is greater than the second</td></tr><tr><td>Greater than Equal</td><td>Returns <code>True</code> if the first input is greater or equal than the second</td></tr><tr><td>Lesser than Equal</td><td>Returns <code>True</code> if the first input is lesser or equal than the second</td></tr><tr><td>Lesser Than</td><td>Returns <code>True</code> if the first input is lesser than the second</td></tr></tbody></table>

<figure><img src="/files/l6tRSbcb76BGOP02cMaY" alt=""><figcaption></figcaption></figure>

#### Operators

Operators, like in coding, are essential to implement logical statements, in order to build up more complete boolean conditions.

The number of input parameters vary based on the type of the operator: if `Unary` the node accepts only one input, if `Binary` it accepts two.

<table><thead><tr><th width="123">Node</th><th width="134">Type</th><th>Description</th></tr></thead><tbody><tr><td>Not</td><td>Unary</td><td>Returns the opposite of a given boolean input</td></tr><tr><td>And</td><td>Binary</td><td>Returns <code>True</code> if both the two inputs are <code>True</code>, <code>False</code> otherwise</td></tr><tr><td>Or</td><td>Binary</td><td>Returns <code>True</code> if one of the two input is <code>True</code>, <code>False</code> otherwise</td></tr><tr><td>XOr</td><td>Binary</td><td>Similar to Or, but it returns <code>False</code> if both inputs are <code>True</code></td></tr></tbody></table>

<figure><img src="/files/DVaXu3ofmB0ei7sVHyGp" alt=""><figcaption></figcaption></figure>
