# Seat

***

### Seat

#### Add functionality to allow avatar to sit down

| <img src="/files/bwVYOqwEWMYcdyuVcdmg" alt="" data-size="original">                                                         | <img src="/files/BC5nBsesxudmX35UhWcp" alt="" data-size="original">                                                       |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| When the avatar enters the **SeatHintFarAwayTriggerSphere**, the **SeatHintFarAway** icon (white dot) shows above the seat. | When the avatar enters the **SeatHintTriggerSphere**, the **SeatHint** button (sitting person icon) shows above the seat. |
| <img src="/files/R1c6czvfP4tv5TMcmEkl" alt="" data-size="original">                                                         |                                                                                                                           |
| When the avatar clicks on the **SeatHint** button, the avatar sits down.                                                    |                                                                                                                           |

{% stepper %}
{% step %}

#### Add the chair&#x20;

A. In this example, the chairs and table have been created in the scene under a single entity.

B. Click the **Edit Viverse Extension** button.

<figure><img src="/files/SRWX8Msve93dsyDUFQZE" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Add the Seat module

A. In the VIVERSE extension, select the **Seat** plugin for the **Select plugins** dropdown.

B. Select the **Seat** module and add it.

C. Add a value to the **number of seats** field.

<figure><img src="/files/MRaOd106opDv1IccKL8V" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Adjust the sitting boundary

A. The **Seat** is automatically generated.

B. Adjust the **Radius** on the **Collision** component to modify the sitting boundary.

<figure><img src="/files/mPBRoJoY2kzfylLf4RAa" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### View the SeatHintFarAway icon

A. The **SeatHintFarAway** icon is a white dot that is automatically generated and hovers above each seat.

<figure><img src="/files/ua9aksYnlhA8W66CqNdB" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Adjust the boundary for the SeatHintFarAway icon

A. The **SeatHintFarAwayTriggerSphere** is automatically generated.

B. Adjust the **Radius** on the **Collision** component to modify the distance away before the **SeatHintFarAway** icon displays. Also ensure the height of the collider is above ground level, so the player capsule collider is sure to intersect with it.

<figure><img src="/files/5x8PLEG8jZjPT3i9o3Il" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### View the SeatHint button

A. The **SeatHint** button has an icon of a sitting person. The button is automatically generated and hovers above each seat. When clicked, the avatar will sit.

<figure><img src="/files/fALxpnDUc3sQI7xDUjNk" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Adjust the boundary for the SeatHint button

A. The **SeatHintTriggerSphere** is automatically generated.

B. Adjust the **Radius** on the **Collision** component to modify the distance away before the **SeatHint** icon displays.

<figure><img src="/files/czRO9Pulz7Ob6WdflYLg" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: 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.viverse.com/playcanvas-toolkit/building-with-the-playcanvas-toolkit/no-code-tools/seat.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.
