# ShapeClass.maxChildCount

Sets the maximum number of allowed child connections &ndash; the number of output connections. (Defaults to 0, no allowed child connections)

**Kind:** Constant

**Environments:** Game

## Game

[Open the full Game reference](../Game-Script-Environment/Classes/ShapeClass.md#maxchildcount)

> **Note:**
> Implement [client_getAvailableChildConnectionCount](../Game-Script-Environment/Classes/ShapeClass.md#client_getavailablechildconnectioncount) to control specific types.

**Returns:**

| Type | Description |
| --- | --- |
| integer | &mdash; |
