# Sandbox.PlayerController.TraceBody

```csharp
SceneTraceResult TraceBody(Vector3 from, Vector3 to, float scale = 1, float heightScale = 1)
```

Trace the aabb body from one position to another and return the result

### Parameters

- `from` (`Vector3`)
- `to` (`Vector3`)
- `scale` (`float`), default `1`
- `heightScale` (`float`), default `1`

### Returns

`SceneTraceResult`

Declared in [Sandbox.PlayerController](/api/Sandbox.PlayerController).
Assembly: `Sandbox.Engine`.
