# Vector2.SmoothDamp

```csharp
static Vector2 SmoothDamp(in Vector2 current, in Vector2 target, ref Vector2 velocity, float smoothTime, float deltaTime)
```

Smoothly move towards the target vector

### Parameters

- `in current` (`Vector2`)
- `in target` (`Vector2`)
- `ref velocity` (`Vector2`)
- `smoothTime` (`float`)
- `deltaTime` (`float`)

### Returns

`Vector2`

Declared in [Vector2](/api/Vector2).
Assembly: `Sandbox.System`.
