> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/2.0/toolbox/flow-control/branch.md).

# Branch

## Overview

![The Branch Node.](/files/-MIxaUPxgZGxUAYf_00E)

**Branch** triggers one of two **Pulses**, based on whether or not the `Input` value is *true* or *false*. Branching is a fundamental part of *conditional logic* and at a high level it basically means "*If this is true, do this; if not, do this*". Although the **Node** takes a single condition, this condition can be composed of multiple other conditions when used in conjunction with *relational expression* **Nodes** (**Is Equal**, **Is Greater Equal**, and **Is Less Equal**), *logical operator* **Nodes** (**AND**, **OR**, and **Negate**), and other **Branch Nodes**.

## Attributes

| Attribute       | Type     | Description                                                               |
| --------------- | -------- | ------------------------------------------------------------------------- |
| `Default Value` | **Bool** | The default value if one is not provided in the `Input` **Input Socket.** |

## Inputs

| Input             | Type      | Description                                                                                   |
| ----------------- | --------- | --------------------------------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard input **Pulse**, to trigger the execution of the **Node**.                         |
| `Input`           | **Bool**  | The *true* or *false* condition to determine which of the two output **Pulses** are executed. |

## Outputs

| Output        | Type      | Description                                            |
| ------------- | --------- | ------------------------------------------------------ |
| `OnTrue` (►)  | **Pulse** | The **Pulse** will be triggered if `Input` is *true*.  |
| `OnFalse` (►) | **Pulse** | The **Pulse** will be triggered if `Input` is *false*. |

## External Links

* [*Conditional (computer programming)*](https://en.wikipedia.org/wiki/Conditional_%28computer_programming%29) on Wikipedia.

  ext
