> 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-optional/decal-component.md).

# Decal Component

{% hint style="info" %}
**Note:** Emerald AI 2025 version 1.2.0 or higher is required to use this component.
{% endhint %}

<figure><img src="/files/d7OK22XH6qFVXRwLxe5y" alt=""><figcaption><p>The Emerald Decals Component. Pressing the foldout areas will expand its options.</p></figcaption></figure>

## Using the Decals Component

The Decals Component allows users to set decal prefabs that will be spawned and positioned when the AI receives damage. This is intended to be used with Unity URP or HDRP's built-in decal system, but can be used with custom solutions as well.

{% hint style="success" %}
Here are the available tutorials and guides for the Decals 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 the </p><p>        Decals Component</p></td><td>            </td><td><a href="/files/gZ5pm1eTHoqLy8j8aEYS">/files/gZ5pm1eTHoqLy8j8aEYS</a></td><td><a href="/pages/Ksc902VZmdaX4AxEEFJu">/pages/Ksc902VZmdaX4AxEEFJu</a></td></tr><tr><td></td><td><p>          Setting up the </p><p>       Decals Component</p></td><td></td><td><a href="/files/BZcM1LYjULDyZbcDBKGd">/files/BZcM1LYjULDyZbcDBKGd</a></td><td><a href="/pages/2Qv4dpBKkBKY2uXEm5Pt">/pages/2Qv4dpBKkBKY2uXEm5Pt</a></td></tr></tbody></table>
