---
description: Check the instructions below.
---

# Exports

{% tabs %}
{% tab title="client-side" %}
**Adding Interaction To Coord**

```lua
exports["gfx-interact"]:NewInteraction("coords", {vector3(x,y,z)}, {
	id = "door-id",
	bgColor = "rgb(10, 196, 255)",
	options = {
		{
		    text = "Open Door",
                    key = "E",
                    event = "door:open_door",
		}
	}
})
```

**Adding Interaction To Entity**

```lua
NewInteraction("entity", { entity }, {
        id = "ped-1",
        title = "Ped",
        options = {
            {
                text = "Talk to Ped",
                id = "talk",
                event = "event:Name"
            },
        }
    })
```
{% endtab %}
{% endtabs %}

