# Optimization Component

<figure><img src="/files/CDwMYqrS1CxtM1NfTCdb" alt=""><figcaption><p>The Emerald Optimization Component. Pressing the foldout area will expand its options.</p></figcaption></figure>

## Using the Optimization Component

The Optimization Component optimizes AI by disabling certain scripts and functionality when an AI's model is culled or not visible. By default, the Skinned Mesh Renderer option is used. However, there is also an option to use an [LOD Group](https://docs.unity3d.com/Manual/class-LODGroup.html) for AI who have multiple levels or portions of meshes.

{% hint style="success" %}
Here are the available tutorials and guides for the Optimization 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> Optimization Component</p></td><td></td><td><a href="/files/RmtdZElkDl95iJdQzhON">/files/RmtdZElkDl95iJdQzhON</a></td><td><a href="/pages/pVByJ6CDsl2zSLZ1Yz7f">/pages/pVByJ6CDsl2zSLZ1Yz7f</a></td></tr><tr><td></td><td>        Setting up the  Optimization Component</td><td></td><td><a href="/files/3JArxvTMms68GaqsLazU">/files/3JArxvTMms68GaqsLazU</a></td><td><a href="/pages/C7MUEOGibkeUyrFabvMY">/pages/C7MUEOGibkeUyrFabvMY</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/optimization-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.
