# Interactable.getMaxParentCount

Returns the maximum number of allowed parent connections of an interactable &ndash; the number of incoming connections.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| integer | The max parent connection count. |
