# Shape.getInteractable

Returns the [Interactable](../Game-Script-Environment/Userdata/Interactable.md) of a shape, if one exists. Otherwise the function will return nil.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
shape:getInteractable(  )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Shape.md#getinteractable)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `shape` | [Shape](../Game-Script-Environment/Userdata/Shape.md) | The shape. |

**Returns:**

| Type | Description |
| --- | --- |
| [Interactable](../Game-Script-Environment/Userdata/Interactable.md) | The interactable belonging to the shape. |
