# Interpolate proc (vector)

Source: https://ref.dm-lang.org/vector/proc/Interpolate
Added in BYOND 516.

### Format
> `A.Interpolate(B, t)`

### Args
- `B`: The other vector to interpolate with.
- `t`: The interpolation factor


### Returns
> A new vector interpolated between A and B.

Returns the equivalent of `A + (B-A) * t`.

There is special handling for a case of `t=1` to avoid rounding errors.

### See also
- [vector](https://ref.dm-lang.org/vector/index.md)
- [vector proc](https://ref.dm-lang.org/proc/vector.md)
