# World.getWeightedVoxelDensityInWorldPoint

Get weighted voxel density in world point.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
world:getWeightedVoxelDensityInWorldPoint( point )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `world` | [World](../Game-Script-Environment/Userdata/World.md) | The world to look in. |
| `point` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The world space point to check density in. |

**Returns:**

| Type | Description |
| --- | --- |
| number | Weighted density. (returns 0 if world doesn't have voxels) |
| [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | Weighted direction of voxel influence. |
