# Furniture Interactions

{% hint style="info" %}
In order to use furniture interactions you need to [configure interact](/nonem/resources/no-base/configuration/interact-target.md).
{% endhint %}

You can add interactions based on furniture models or tags.

## Types

***

### Interaction

<table><thead><tr><th>Field</th><th>Type</th><th>Description</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>id</td><td>string</td><td>Unique id for the interaction</td><td>true</td></tr><tr><td>label</td><td>string</td><td>Interaction label to show</td><td>true</td></tr><tr><td>onInteract</td><td>function</td><td>Function to execute on interact</td><td>true</td></tr><tr><td>tags</td><td>string[]</td><td>Furniture tags</td><td>false</td></tr><tr><td>models</td><td>number[]</td><td>Furniture models</td><td>false</td></tr><tr><td>icon</td><td>string</td><td>Font Awesome icon</td><td>false</td></tr><tr><td>accessRequired</td><td>boolean</td><td>Controls whether the player has access to the house for interact. Default: true</td><td>false</td></tr></tbody></table>

## Examples

***

```lua
Config.FurnitureInteractions = {
    {
        id = "stash",
        tags = {"stash"},
        label = "Stash",
        icon = "box",
        onInteract = function(entity, furnitureId, houseId)
            local stash = "housing:furniture:stash:" .. houseId .. ":" .. furnitureId
            -- OPEN STASH
            TriggerEvent("inventory:open", stash)
        end
    },
    {
        id = "clothing",
        tags = {"clothing"},
        label = "Clothes",
        icon = "shirt",
        accessRequired = false,
        onInteract = function(entity, furnitureId, houseId)
            TriggerEvent("clothing:open")
        end
    }
 }
```


---

# 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://none-fivem.gitbook.io/nonem/resources/no-housing/configuration/furniture-interactions.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.
