# Shape.getNeighbours

Returns a table of shapes which are neighbours to the shape

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Server only

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| table | table of shapes. \{[Shape](../Game-Script-Environment/Userdata/Shape.md), ..\} |
