> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/nodes/decorators/blackboard-condition.md).

# Blackboard Condition

### Description

Checks the key for compliance with the condition, if it is true, then the task will be completed, otherwise not.

**To create it**, right-click on the node and select <mark style="color:purple;">Add Decorator/Blackboard Condition</mark>.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FW7LxwCjw6niliwRRd8td%2FScreenshots4.png?alt=media&amp;token=923702c4-b44c-4213-90a3-695f8863c37d" alt=""><figcaption><p>How to create this decorator</p></figcaption></figure>

This decorator has a number of fields, that are highlighted in picture below.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FK8FFiXyH3KOi3RCwk5mV%2FScreenshots5.png?alt=media&amp;token=93dfc9f2-34b9-4419-b67a-0cd71ecdd56d" alt=""><figcaption><p>Fields</p></figcaption></figure>

### Fields

| Name         | Description                                                                                                                 |
| ------------ | --------------------------------------------------------------------------------------------------------------------------- |
| Node Name    | Name of node                                                                                                                |
| Flow Control | During the execution of the node check, if the value has changed and the check outputs a different value, it exits the node |
| Key          | Key for verification                                                                                                        |
| Comparer     | Type of value verification                                                                                                  |

{% hint style="info" %}
Comparer is only shown after you select a key.
{% endhint %}

{% hint style="info" %}
For more information about Flow Control and Comparers visit ["Decorators"](/ai-tree/nodes/decorators.md) tab.
{% endhint %}
