> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_prison/integrations/interactions.md).

# Interactions (Target)

The interactions bridge is used for target-based interactions (e.g. cells, booths, gym equipment) instead of the default distance-based `[E]` keypress.

## 🔎 Auto Detection

```lua
Config.Interactions = AUTO_DETECT
```

Override with the matching constant if detection picks the wrong one:

| Constant            | Resource                                                                |
| ------------------- | ----------------------------------------------------------------------- |
| `Interactions.OX`   | `ox_target`                                                             |
| `Interactions.QB`   | `qb_target`                                                             |
| `Interactions.Q`    | `q_target`                                                              |
| `Interactions.MV`   | `mv_target`                                                             |
| `Interactions.NONE` | No target interaction found - distance interaction using `[E]` is used. |

{% hint style="info" %}
Leave it on `AUTO_DETECT` if you're running one of the supported target systems (recommended).
{% endhint %}
