> For the complete documentation index, see [llms.txt](https://learn.shapesxr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.shapesxr.com/prototyping/interactivity-and-play-mode.md).

# 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 %}
