> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/plugins-and-integrations/convai-unity-sdk/utilities/gaze-and-attention.md).

# Gaze and Attention

The Gaze & Attention utility adds natural eye contact and head tracking to AI characters. It runs entirely inside Unity — no data is sent to Convai — and operates independently of the session lifecycle.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>How Gaze and Attention works</strong><br>Understand the two-layer pipeline where Attention selects focus targets and Gaze drives procedural eye tracking, head rotation, and saccades.</td><td><a href="/pages/zUCenpeFJGFhW3yhHOQV">/pages/zUCenpeFJGFhW3yhHOQV</a></td></tr><tr><td><strong>Gaze and Attention quick start</strong><br>Add the three required components and see eye and head tracking working in Play Mode.</td><td><a href="/pages/8db0a7c73598ac534a4c40ffac06ec94256588a3">/pages/8db0a7c73598ac534a4c40ffac06ec94256588a3</a></td></tr><tr><td><strong>Attention and gaze profiles</strong><br>Field reference for all four gaze profile ScriptableObjects with defaults and tuning guidance.</td><td><a href="/pages/bdf689d789a4f88bf1d26ce6d354d98074cfd771">/pages/bdf689d789a4f88bf1d26ce6d354d98074cfd771</a></td></tr><tr><td><strong>Gaze and Attention usage examples</strong><br>Training, medical, and negotiation scenarios with Inspector and scripted configuration patterns.</td><td><a href="/pages/4485b09fb5be00f7295b696c5de8687d4a80c779">/pages/4485b09fb5be00f7295b696c5de8687d4a80c779</a></td></tr><tr><td><strong>Gaze and Attention scripting API</strong><br>Complete reference for AttentionReading, IFocusTargetProvider, GazeIntent, and all runtime types.</td><td><a href="/pages/0f74068e38a6f78390e41d0506de247f8d68516e">/pages/0f74068e38a6f78390e41d0506de247f8d68516e</a></td></tr><tr><td><strong>Troubleshoot Gaze and Attention</strong><br>Fixes for static eyes, frozen head, eyelid clipping, and attention targeting failures.</td><td><a href="/pages/b50c3bd12a4412920ecbcc86ebf1d36dec758689">/pages/b50c3bd12a4412920ecbcc86ebf1d36dec758689</a></td></tr></tbody></table>

### Next steps

Follow the Quick Start to add eye and head tracking to your first character, then read Attention and Gaze Profiles to understand how to adjust gaze behavior for your scenario.

{% content-ref url="/pages/8db0a7c73598ac534a4c40ffac06ec94256588a3" %}
[Gaze and Attention quick start](/api-docs/plugins-and-integrations/convai-unity-sdk/utilities/gaze-and-attention/quick-start.md)
{% endcontent-ref %}


---

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

```
GET https://docs.convai.com/api-docs/plugins-and-integrations/convai-unity-sdk/utilities/gaze-and-attention.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.
