# sm.shape.shapesInSphere

Returns a table of all shapes colliding with a given sphere.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.shape.shapesInSphere( center, radius )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.shape.md#shapesinsphere)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `center` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The center position of the sphere. |
| `radius` | number | The radius of the sphere. |

**Returns:**

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