> 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_housing/integrations/interact.md).

# Interact

The interact bridge powers every zone interaction in `rcore_housing` - entry doors, storage, wardrobe, garage, management.

## 🔎 Auto Detection

```lua
Config.InteractSystem = AUTO_DETECT
```

Auto-detection order: `ox_target` → `qb-target` → standalone keypress.

Override with `InteractSystem.OX`, `InteractSystem.QB`, or `InteractSystem.NONE` to force a specific bridge.

## 🧩 Per-Resource Setup

{% tabs %}
{% tab title="ox\_target" %}
Resource: `ox_target` - **recommended**.

No additional configuration required. The bridge registers ox\_target zones for every property and furniture interaction.

```cfg
ensure ox_target
ensure rcore_housing
```

{% endtab %}

{% tab title="qb-target" %}
Resource: `qb-target`

No additional configuration required. The bridge registers qb-target zones.

```cfg
ensure qb-target
ensure rcore_housing
```

{% endtab %}

{% tab title="Standalone" %}
No target resource - interactions use a keypress + marker fallback.

```lua
Config.InteractSystem = InteractSystem.NONE
```

The keypress hint UI style is controlled by `Config.Zones.InteractHelp`:

| Value                  | Behaviour                                    |
| ---------------------- | -------------------------------------------- |
| `INTERACT_HELP.NUI`    | Styled NUI hint at the bottom of the screen. |
| `INTERACT_HELP.NATIVE` | GTA native text helper at the top.           |

Marker style, color, and rotation are configured under `Config.Zones.Marker` - see [main config](/paid-resources/rcore_housing/configuration/config.md).
{% endtab %}
{% endtabs %}

## 🧪 Debug

```lua
Config.Zones.TargetDebug = true
```

When `true`, target zones are drawn with debug visuals. Only enable on development servers.
