# World.sphereVoxelDensityAddition

Modify voxel terrain with a sphere shape

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
world:sphereVoxelDensityAddition( position, radius, material, player? )
```

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `world` | [World](../Game-Script-Environment/Userdata/World.md) | The world. |
| `position` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The world position of the sphere. |
| `radius` | number | The radius of the sphere. |
| `material` | integer | The material to add [0-7]. |
| `player` *(optional)* | [Player](../Game-Script-Environment/Userdata/Player.md) | The player who constructed. (Optional) |
