> ## Documentation Index
> Fetch the complete documentation index at: https://docs.altoura.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Interactable Objects

> Control which objects in the scene can be interacted with by the learner during training

## Overview

The **Set Interactable Objects** action determines which objects in your 3D scene the learner can interact with (tap, move, rotate, or manipulate). This enables you to guide the learner's focus and prevent unintended interactions with specific parts of the scene.

## When to Use

* **Restrict interaction to specific components** — Allow the learner to only tap or manipulate the correct object for the current step
* **Disable interactions during demonstrations** — Show the learner what to do without letting them act
* **Progressive disclosure** — Enable new objects as the training progresses through steps
* **Safety and compliance** — Lock out hazardous objects or restricted areas during certain phases

## Parameters

| Parameter | Type    | Required | Description                                                                                                            |
| --------- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------- |
| Objects   | Array   | Yes      | List of object identifiers to configure. Each entry specifies which object(s) to make interactable or non-interactable |
| Enabled   | Boolean | Yes      | `true` = make the listed objects interactable; `false` = disable interaction for the listed objects                    |

## Example

**Step 1: Lock everything except the warning button**

```
Action: Set Interactable Objects
Objects: ["warning-button"]
Enabled: true
```

The learner can only interact with the warning button. All other objects in the scene are non-responsive.

**Step 2: Demonstration sequence — disable all interactions**

```
Action: Set Interactable Objects
Objects: ["*"]
Enabled: false
```

The asterisk (`*`) represents all objects. Nothing in the scene can be interacted with while the demo plays.

**Step 3: Re-enable interactions after instructions**

```
Action: Set Interactable Objects
Objects: ["valve", "pump", "gauge"]
Enabled: true
```

Now the learner can manipulate the valve, pump, and gauge objects.

## Tips

* Use this action in **onEntry** to set up the interaction constraints for each state
* Pair with **Disable Self Teleport** to fully lock down the learner's control during demonstrations
* Always enable the objects you need *before* transitioning to a state where the learner must interact with them
* Test your interaction constraints across different devices to ensure the right objects respond to taps and gestures
