# Interactivity and Play mode

### How to add Interactivity

You can **add interactivity** from the Prototyping menu (Interactions tab) or from the [Object Inspector](/object-inspector.md) (Interactions tab). Click on the Add button and choose the needed trigger and action.

The list of **available triggers**:

* On Click.
* On Hover.
* On Touch.
* On Button.
* On Collision.
* Frame Enter.
* After Delay.

The list of **available actions**:

* Go to Frame.
* Go to Viewpoint.
* Play haptic.
* [Play sound](/prototyping/how-to-prototype-with-sounds.md).
* Look at.

After you choose the required interaction, select the object in your scene you want to assign that interactivity by clicking the Target button and selecting the object. Now, when you hover over this interactivity in the list, you'll see the line to the target object.&#x20;

### How to use Interactivity (Play mode)

To make the interactivity work, you need to **activate the Play mode**. You can do so **by pressing the non-dominant stick** or **by clicking on the button in the action bar**.

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

In the Play mode, you can't edit your scene; you can switch frames and viewpoints using sticks on the controllers and interact with the objects via interactions.

To **exit the Play mode**, press the non-dominant stick again or click on the button above the controller.&#x20;

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

### How to change the input mode

You can interact with objects in the Play mode in two ways:

* Controllers raycast.
* [Eye gaze and hand pinch](/prototyping/gaze-and-pinch-interaction.md).

**To change the input mode,** go to the Settings menu -> Prototyping section, and choose the needed option from the Input mode list.

{% hint style="info" %}
In case you are using Gaze & Pinch mode, please make sure the Hand tracking and Eye tracking (only for Quest Pro) are enabled in the Oculus settings (Settings -> Movement Tracking -> Hand and Body Tracking).
{% endhint %}


---

# 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://learn.shapesxr.com/prototyping/interactivity-and-play-mode.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.
