> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/api/functions/math.interpolatelasttickpos.md).

# math.interpolateLastTickPos

> **interpolateLastTickPos**(`pos`, `lastPos`): `number`

Interpolates a single coordinate between its previous and current tick value, using the current render partial ticks.

### Parameters

#### pos

`number`

The coordinate as of this tick.

#### lastPos

`number`

The coordinate as of the previous tick.

### Returns

`number`

The coordinate where it should be drawn this frame.

### Remarks

Use this when you track positions yourself. For entities prefer interpolateEntityPosition.
