> 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-line-of-sight.md).

# Drawing an AI's Line of Sight

## Drawing an AI's Line of Sight

The Draw Line of Sight Lines draws an AI's line of sight towards its Enemy or Look At Target when within the [Scene View](https://docs.unity3d.com/Manual/UsingTheSceneView.html). This is indicated by a green line, which means the AI has an unobstructed line of sight towards it.

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

<figure><img src="/files/MxlhZqfyaEPEhVrTxI9v" alt="" width="563"><figcaption></figcaption></figure>

If an AI's line of sight line is red, it means that there is a current obstruction between it and its target.

<figure><img src="/files/be9pOoGkVKnqjFM4RC4N" alt="" width="563"><figcaption></figcaption></figure>
