# Environment Query

### Description

Scriptable object that holds [EQS](https://renownedgames.gitbook.io/ai-tree/environment-query-system) configuration parameters.

**To create it**, right-click on free space in Project tab and select <mark style="color:purple;">Create/Renowned Games/AI Tree/Environment Query</mark>.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FqLTVEoukC1ebzNP2ycLv%2FEQ%201.png?alt=media&#x26;token=a963cc9b-c42d-47ae-b6fd-5871cff3c09b" alt=""><figcaption><p>How to create this asset</p></figcaption></figure>

This scriptable object 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%2Fh1UB1xHT9bJnDDaf9lKg%2FEQ%202.png?alt=media&#x26;token=c781857f-05d6-4240-8f6c-f7d85fe0b9f4" alt=""><figcaption><p>Fields</p></figcaption></figure>

### Fields

| Name       | Description                                                                                                                       |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------- |
| Generator  | Shape of area covered by [EQS](https://renownedgames.gitbook.io/ai-tree/environment-query-system)                                 |
| Trace Mode | What [EQS](https://renownedgames.gitbook.io/ai-tree/environment-query-system) is bound to                                         |
| Tests      | Tests that are used to specify which items get picked by [EQS](https://renownedgames.gitbook.io/ai-tree/environment-query-system) |
| Show Score | Show weight of [items](https://renownedgames.gitbook.io/ai-tree/environment-query-system/items)                                   |

{% hint style="info" %}
For more information about Generator visit ["Generator"](https://renownedgames.gitbook.io/ai-tree/environment-query-system/useful-objects/environment-query/generator) tab.
{% endhint %}

{% hint style="info" %}
For more information about Trace Mode visit ["Trace Mode"](https://renownedgames.gitbook.io/ai-tree/environment-query-system/useful-objects/environment-query/trace-mode) tab.
{% endhint %}

{% hint style="info" %}
For more information about Tests visit ["Tests"](https://renownedgames.gitbook.io/ai-tree/environment-query-system/useful-objects/environment-query/tests) tab.
{% endhint %}
