# Vector2.LerpTo

## Overload 1

```csharp
Vector2 LerpTo(Vector2 target, float t, bool clamp = True)
```

Linearly interpolate from this vector to given vector.

### Parameters

- `target` (`Vector2`)
- `t` (`float`)
- `clamp` (`bool`), default `True`

### Returns

`Vector2`

## Overload 2

```csharp
Vector2 LerpTo(Vector2 target, Vector2 t, bool clamp = True)
```

Linearly interpolate from this vector to given vector with separate fraction for each axis.

### Parameters

- `target` (`Vector2`)
- `t` (`Vector2`)
- `clamp` (`bool`), default `True`

### Returns

`Vector2`

Declared in [Vector2](/api/Vector2).
Assembly: `Sandbox.System`.
