> 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/environment-query-system/useful-objects/environment-query.md).

# Environment Query

### Description

Scriptable object that holds [EQS](/ai-tree/environment-query-system/quick-start.md) 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&amp;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&amp;token=c781857f-05d6-4240-8f6c-f7d85fe0b9f4" alt=""><figcaption><p>Fields</p></figcaption></figure>

### Fields

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

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

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

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