> 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/debugger-component/drawing-an-ais-path.md).

# Drawing an AI's Path

## Drawing an AI's Path

The Draw Nav Mesh Path allows an AI's path to be drawn when within the [Scene View](https://docs.unity3d.com/Manual/UsingTheSceneView.html). This path is based off of the AI's current path generated by Unity's Nav Mesh. This can be helpful to visually see how an AI is navigating around an environment. The color of the path can also be adjusted.

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

<figure><img src="/files/Zkr8YzTgMK7t9tWaZ9k3" alt=""><figcaption><p>An AI's Nav Mesh path and destination being drawn with the Emerald Debugger (<strong>while in the Scene View</strong>).</p></figcaption></figure>

{% hint style="warning" %}
**Important:** You will only be able to see the Debugging Tools if Unity's Gizmos Option is on. This is enabled by default (when in Scene View), but if you can't see them, see how to toggle the option with Unity's guide here: <https://docs.unity3d.com/Manual/GizmosMenu.html>

If you want the Debugger Tools to be enabled while in the Game View, you will need to manually enable the Gizmos Menu.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://black-horizon-studios.gitbook.io/emerald-ai-wiki/emerald-components-optional/debugger-component/drawing-an-ais-path.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
