# sm.physics.isSphereHittingLiquid

Returns whether a sphere is hitting a liquid or not.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.physics.isSphereHittingLiquid( position, world?, radius )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `position` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The world position to check. |
| `world` *(optional)* | [World](../Game-Script-Environment/Userdata/World.md) | The world to check in. |
| `radius` | number | The radius of the sphere. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | Whether the sphere is hitting a liquid or not |
