# Sandbox.WaterBody.SampleSurface

```csharp
float SampleSurface(Vector2 point, out Vector3 normal)
```

Height and world normal at displaced surface XY, including Gerstner crest compression.
Matches the unfiltered wave surface.

### Parameters

- `point` (`Vector2`)
- `out normal` (`Vector3`)

### Returns

`float`

Declared in [Sandbox.WaterBody](/api/Sandbox.WaterBody).
Assembly: `Sandbox.Engine`.
