> 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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.overthereality.ai/over-sdk-manual/over-visual-scripting-legacy/nodes/operations/conditional.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
