# Lua Condition Decorator

Use the this decorator to execute lua condition expression of Dialogue System.

{% hint style="success" %}
You can learn about the syntax and coding rules in Lua on the [Pixel Crushers website](https://www.pixelcrushers.com/dialogue_system/manual2x/html/logic_and_lua.html).
{% endhint %}

***

To create it, right-click on the composite node select decorator and find:&#x20;

* <mark style="color:purple;">**Integrations/Lua Condition Decorator**</mark>

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%2FpFiEpRmeBCDFGQPDK3ds%2FLuaCondition.png?alt=media&#x26;token=a8bc6d9c-3c50-4497-906e-0790ac2e3900" alt=""><figcaption><p>Lua Condition decorator</p></figcaption></figure>

### Fields

| Name              | Description                               |
| ----------------- | ----------------------------------------- |
| Node Name         | Custom name of decorator.                 |
| Inverse Condition | Set true to inverse condition expression. |
| Lua Conditions    | Array of lua condition expressions.       |
