# Vector3.SlerpTo

```csharp
Vector3 SlerpTo(in Vector3 target, float frac, bool clamp = True)
```

Performs spherical linear interpolation (Slerp) between this vector and a target vector.

### Parameters

- `in target` (`Vector3`): The target vector to interpolate towards.
- `frac` (`float`): Interpolation fraction: 0 returns this vector, 1 returns the target vector, and values in between provide intermediate results along the spherical path.
- `clamp` (`bool`), default `True`: If true, clamps the fraction between 0 and 1.

### Returns

`Vector3`: Interpolated vector along the spherical path.

Declared in [Vector3](/api/Vector3).
Assembly: `Sandbox.System`.
