> 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/perception-system/detection-signal.md).

# Detection Signal

Node description and basic instructions

### Description

Task node allowing AI agent to detect a signal from perception source.

**To create it**, right-click on free space in AI Tree inspector and select <mark style="color:purple;">Create Node/Tasks/Perception System/Detection Signal.</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%2FsSai163tjT1B1kyGOJk3%2FPerc1.png?alt=media&amp;token=99823355-6b3c-44dc-9c8c-015c9c69ec7e" alt=""><figcaption></figcaption></figure>

### Fields

| Name              | Description                            |
| ----------------- | -------------------------------------- |
| Node Name         | Name of node                           |
| Ignore Abort Self | Whether node ignores abort self or not |
| Signal type       | The signal being sent.                 |

### **Signal type**

The Alert signal type falls from the AI Detection Signal class and after the detection time gives the Neutral signal type.

If the look target is not null, then it will turn to it if the signal type alert.

{% tabs %}
{% tab title="Alert" %}

#### **Parameters**

| Name           | Description                                                                                  |
| -------------- | -------------------------------------------------------------------------------------------- |
| Detection Time | Time of full detection. After that the target will be detected and node will return  Success |
| Look target    | Key value that perception system looks for                                                   |

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FPue9lRwtbph4xBM5k6a2%2FScreenshots2.png?alt=media&amp;token=c3208983-92da-46ca-98be-375032c5b58b" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Neutral" %}

#### **Parameters**

| Name      | Description                                                                      |
| --------- | -------------------------------------------------------------------------------- |
| Loss Time | Time of full loss. After that the goal will be lost and node will return Success |

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FYdxMryDGdGPjyysWY3aI%2FScreenshots3.png?alt=media&amp;token=acc6d5e8-cc69-40e4-a8a4-33f82a85912e" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

{% hint style="info" %}
&#x20;If the look target is added to the Alert lost time is replaced by detection time.
{% endhint %}
