# Sandbox.PlayerController.PlayFootstepSound

```csharp
void PlayFootstepSound(Vector3 worldPosition, float volume, int foot)
```

Play a footstep sound at the given world position. Will only play if the player has a GroundSurface.

### Parameters

- `worldPosition` (`Vector3`)
- `volume` (`float`)
- `foot` (`int`)

Declared in [Sandbox.PlayerController](/api/Sandbox.PlayerController).
Assembly: `Sandbox.Engine`.
