> 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-compare/compare-control-states.md).

# Compare Control States

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

## Description

Compares two Control State values

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input           | Type          | Required | Description                              |
| --------------- | ------------- | -------- | ---------------------------------------- |
| Control State A | Control State | Yes      | Control State to compare to other input. |
| Control State B | Control State | Yes      | Control State to compare to other input. |

## Outputs

| Output | Type    | Description                                       |
| ------ | ------- | ------------------------------------------------- |
| A == B | Boolean | Outputs TRUE if both Control States are the same. |

\
\
**Contributors**

AddiCt3d 2CHa0s
