> 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/tasks/eqs/run-eqs-query.md).

# Run EQS Query

Node description and basic instructions

### Description

Task node allowing to run EQS queries from behaviour tree.

**To create it**, right-click on free space in AI Tree inspector and select <mark style="color:purple;">Create Node/Tasks/EQS/Run EQS Query.</mark>

This task node 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%2F9hHJHtzUuMsnR6nFJBnS%2FRun%20EQS.png?alt=media&amp;token=9847dfc1-5f91-43c3-9c9f-2091dd75633b" alt=""><figcaption></figcaption></figure>

### Fields

| Name              | Description                                                                                                                                                  |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Node Name         | Name of node                                                                                                                                                 |
| Ignore Abort Self | Whether node ignores abort self or not                                                                                                                       |
| Key               | Key value holding position of selected item                                                                                                                  |
| Environment Query | Assigned environment query asset                                                                                                                             |
| Sampling          | Sampling allows EQS to pick items with score from 1 to (1 - Sampling). For example, if Sampling is 0.4, EQS will pick a random item with score from 1 to 0.6 |
