# sm.cell.getInteractablesByTag

Returns a table of [Interactables](../Game-Script-Environment/Userdata/Interactable.md) which contain the given tag for a cell coordinate.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.cell.getInteractablesByTag( x, y, tag )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.cell.md#getinteractablesbytag)

**Availability:** Server only

> **Note:**
> Can only be used in a server_onCellLoaded callback.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `x` | integer | The X-coordinate. |
| `y` | integer | The Y-coordinate. |
| `tag` | string | A tag to match with. |

**Returns:**

| Type | Description |
| --- | --- |
| table | A table \{[Interactable](../Game-Script-Environment/Userdata/Interactable.md), ...\} of found interactables with matching tag. |
