# Sandbox.CharacterController.ApplyFriction

```csharp
void ApplyFriction(float frictionAmount, float stopSpeed = 140)
```

Apply an amount of friction to the current velocity.
No need to scale by time delta - it will be done inside.

### Parameters

- `frictionAmount` (`float`)
- `stopSpeed` (`float`), default `140`

Declared in [Sandbox.CharacterController](/api/Sandbox.CharacterController).
Assembly: `Sandbox.Engine`.
