> 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-unreal-engine-plugin/features/gaze-attention.md).

# Gaze attention

Gaze attention lets players direct a Convai character's focus by looking at tagged world objects. Enable it on `UConvaiPlayerComponent`, tag props with `UConvaiObjectComponent`, and the character can respond to what the player is looking at.

{% hint style="info" %}
Gaze attention builds on scene metadata and character actions. Before you start, confirm your level has:

* At least one world actor tagged with `UConvaiObjectComponent` and a non-empty **Name**. See [Scene metadata quick start](/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/scene-metadata/scene-metadata-quick-start.md) if you have not tagged objects yet.
* **Enable Actions** checked on the chatbot under **Convai | Actions** → **Environment**. See [Character actions quick start](/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/character-actions/character-actions-quick-start.md) if actions are not configured.
* `UConvaiPlayerComponent` on the player pawn with **Enable Gaze Attention** turned on.

New to this feature? Start with [How gaze attention works](/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/gaze-attention/how-gaze-attention-works.md) for the full pipeline, then follow [Gaze attention quick start](/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/gaze-attention/gaze-attention-quick-start.md).
{% endhint %}

<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 attention works</strong><br>Understand the trace pipeline, attention promotion timers, component-scoped targeting, and the attention-source locking rule.</td><td><a href="/pages/tzRboWm1eecuLuhSsAmt">/pages/tzRboWm1eecuLuhSsAmt</a></td></tr><tr><td><strong>Gaze attention quick start</strong><br>Enable gaze attention on the Player Component and verify that a character responds when the player looks at a tagged object.</td><td><a href="/pages/8wms0FA96K4gf9BhKcAt">/pages/8wms0FA96K4gf9BhKcAt</a></td></tr><tr><td><strong>Gaze attention reference</strong><br>Complete property, event, method, and class reference for all gaze attention components and their defaults.</td><td><a href="/pages/Y1a2EJCnlVUVqiuNeKuC">/pages/Y1a2EJCnlVUVqiuNeKuC</a></td></tr><tr><td><strong>Gaze attention usage examples</strong><br>Blueprint recipes for gaze events, custom highlight visuals, component-scoped targeting, and manual attention locking.</td><td><a href="/pages/bPs8fXX51q1pu4P47Ypq">/pages/bPs8fXX51q1pu4P47Ypq</a></td></tr><tr><td><strong>Troubleshoot gaze attention</strong><br>Diagnose and fix objects not highlighting, attention not promoting, cursor not appearing, and component-scoped gaze not matching.</td><td><a href="/pages/vhd0cZEs5OqbzqVwljKh">/pages/vhd0cZEs5OqbzqVwljKh</a></td></tr></tbody></table>


---

# 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://docs.convai.com/api-docs/plugins-and-integrations/convai-unreal-engine-plugin/features/gaze-attention.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.
