> 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/inverter.md).

# Inverter

### Description

Decorator that inverts the value of success to failure and vice versa.

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

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2F4eXq9F5R02IJXu0Vs6kQ%2FInverter%201.png?alt=media&amp;token=6d6e838d-2b57-4861-9072-99bad175fa6e" 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%2FwtJuaNyEtTqFUHcSgEdI%2FInverter%202.png?alt=media&amp;token=7d16a427-ddc8-4f62-ae0c-88e7daf101cb" alt=""><figcaption><p>Fields</p></figcaption></figure>

### Fields

| Name      | Description  |
| --------- | ------------ |
| Node Name | Name of node |
