> 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/unity-plugin/building-for-supported-platforms/convai-xr/interacting-with-xr-ui-elements.md).

# Interacting with XR UI Elements

Interacting with the UI may vary depending on the SDK you are using. For popular frameworks like **XR Interaction Toolkit** and **Meta SDK**, you can follow the documentation below. We recommend checking the relevant documentation for other SDKs.

To make the **Settings Panel** interactable in XR environments, where you can test your microphone at runtime or change the appearance of the Chat UI in Convai, follow these steps:

## Meta SDK

### Step 1

Right-click on the **Convai Settings Panel**.

### Step 2

Select **Interaction SDK** and then click on **Add Ray Interaction to Canvas**.

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

### Step 3

If a warning appears in the new window, click the **Fix** button.

### Step 4

In the **Settings** section, choose **Everything**. Then click **Create**.

<figure><img src="/files/xelRvd7dLdiB40t7PtQl" alt="" width="540"><figcaption></figcaption></figure>

### Step 5

To prevent the **ISDK\_RayInteraction** from running while the **Settings Panel** is closed, drag it onto the **Panel** GameObject.

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

## XR Interaction Toolkit

### Step 1

Click on the **Convai Settings Panel**.

### Step 2

In the **Inspector**, click the **Add Component** button.

Add the **Tracked Device Graphic Raycaster** component.

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


---

# 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/unity-plugin/building-for-supported-platforms/convai-xr/interacting-with-xr-ui-elements.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.
