> For the complete documentation index, see [llms.txt](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/emerald-components-required/detection-component.md).

# Detection Component

<figure><img src="/files/2Qfdmjy59uTONZnK5oRV" alt=""><figcaption></figcaption></figure>

## Using the Detection Component

The Detection Component gives AI the ability to detect other targets and players. This is done by setting which layers an AI sees as targets. An AI can then determine how to react to detected targets by relying on its Faction Relation.&#x20;

{% hint style="success" %}
Here are the available tutorials and guides for the Detection Component.
{% endhint %}

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td><p>       Applying a Head </p><p>            Transform</p></td><td></td><td><a href="/files/5r907367AuQckdSSzyet">/files/5r907367AuQckdSSzyet</a></td><td><a href="/pages/7M6YsZ8WLJhE1LSy7oEH">/pages/7M6YsZ8WLJhE1LSy7oEH</a></td></tr><tr><td></td><td><p>         Setting up the </p><p>       Detection Layers</p></td><td></td><td><a href="/files/lPAfDKCkb7VCtsX5xQDN">/files/lPAfDKCkb7VCtsX5xQDN</a></td><td><a href="/pages/FmRWxAEHxmaCMQnEdnK2">/pages/FmRWxAEHxmaCMQnEdnK2</a></td></tr><tr><td></td><td>        Faction Relations</td><td></td><td><a href="/files/8JPeEGV84A1x3JjJXjJf">/files/8JPeEGV84A1x3JjJXjJf</a></td><td><a href="/pages/ib7BXC1XL4fAWgxv5oHz">/pages/ib7BXC1XL4fAWgxv5oHz</a></td></tr></tbody></table>
