# Assert

## Overview

![The Assert Node.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-57ef0f4704b502e19f93b63cd2c6ac13c02a71f2%2Fasserupdatedimage.png?alt=media)

The **Assert** **Node** compares two values and outputs the result of the comparison as a **Boolean**. The **Data Type** of the values to be compared can be chosen on the **Attributes**.

[**Scope**](https://docs.incari.com/incari-studio/2023.1/overview#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Assert Node Attributes.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-963d6871b61b7db94bfb64756053e687211aebbb%2Fassertattributes.png?alt=media)

### Inputs

| Attribute   | Type                                         | Description                                                                       |
| ----------- | -------------------------------------------- | --------------------------------------------------------------------------------- |
| `Data Type` | **Drop-down**                                | The **Data Type** of the two values that will be compared.                        |
| `Operator`  | **Drop-down**                                | The operation that will be used to compare the values.                            |
| `Default A` | *Defined in the `Data Type`* ***Attribute*** | The default value of `A`, if none is given in the **Input Socket**.               |
| `Default B` | *Defined in the `Data Type`* ***Attribute*** | The default value of `B`, if none is given in the **Input Socket**.               |
| `Label`     | **String**                                   | Message that will be printed on the **Console** along with the comparison result. |

## Inputs

| Input             | Type                                         | Description                                                           |
| ----------------- | -------------------------------------------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**                                    | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `A`               | *Defined in the `Data Type`* ***Attribute*** | First value to compare.                                               |
| `B`               | *Defined in the `Data Type`* ***Attribute*** | Second value to compare.                                              |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `C`                | **Bool**  | Result of the comparison.                                                                                                              |
