# CullSphereGroup.addSphere

Adds a sphere to the sphere group, duplicate ids are ignored.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
cullSphereGroup:addSphere( id, position, radius )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `sphereGroup` | [CullSphereGroup](../Game-Script-Environment/Userdata/CullSphereGroup.md) | The sphere group. |
| `id` | integer | Sphere id. |
| `position` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | Sphere position. |
| `radius` | number | Sphere radius. |
