> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/logic/branch.md).

# Branch

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-3f12d127ee043903268329415d5a50f7a5031fb7%2Fbranch.png?alt=media)

## Description

Receives a boolean Condition and does one of two things if the Condition is true or false. Connect the If True and If False to the diamond of the pin you want to execute for each case.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input     | Type    | Required | Description                                                |
| --------- | ------- | -------- | ---------------------------------------------------------- |
| Condition | Boolean | Yes      | Reads boolean result from any node that outputs a boolean. |

## Outputs

| Output   | Type    | Description                                                  |
| -------- | ------- | ------------------------------------------------------------ |
| If True  | Boolean | Runs nodes connected to this string if the boolean is TRUE.  |
| If False | Boolean | Runs nodes connected to this string if the boolean is FALSE. |

\
\
**Contributors**

AddiCt3d 2CHa0s
