# CullSphereGroup.leave

Query all currently active spheres and leave them.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
cullSphereGroup:leave(  )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `sphereGroup` | [CullSphereGroup](../Game-Script-Environment/Userdata/CullSphereGroup.md) | The sphere group. |

**Returns:**

| Type | Description |
| --- | --- |
| table | An array of previously active ids \{integer, ...\}. |
