# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://black-horizon-studios.gitbook.io/emerald-ai-wiki/emerald-components-optional/decal-component.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
