# Interactable.getJoints

Returns a table of all [joints](../Game-Script-Environment/Userdata/Joint.md) that an interactable is connected to. Joints include <strong>bearings</strong> and <strong>pistons</strong>.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
interactable:getJoints(  )
```

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

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| table | A table of the connected [joints](../Game-Script-Environment/Userdata/Joint.md) \{[Joint](../Game-Script-Environment/Userdata/Joint.md), ..\}. |
