# Optimization Demo

## Optimization Demo

The Optimization Demo shows the built-in optimization features through the [Optimization Component](/emerald-ai-wiki/emerald-components-optional/optimization-component.md). This optimizes an AI by disabling various scripts and components when an AI is out of the camera's field of view or when the AI's renderers are culled.

<figure><img src="/files/b82q6RFNf8hOtDOyCyR8" alt=""><figcaption></figcaption></figure>


---

# 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/getting-started/included-demo-scenes/optimization-demo.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.
