> 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.interpolateentityposition.md).

# math.interpolateEntityPosition

### Call Signature

> **interpolateEntityPosition**(`entity`): [`Vec3`](/api/net/minecraft/util/vec3.md)

The position of an entity interpolated to this frame, using the current render partial ticks.

#### Parameters

**entity**

[`Entity`](/api/net/minecraft/entity/entity.md)

The entity to interpolate.

#### Returns

[`Vec3`](/api/net/minecraft/util/vec3.md)

The entity's position this frame, or null when no entity was given.

### Call Signature

> **interpolateEntityPosition**(`entity`, `partialTicks`): [`Vec3`](/api/net/minecraft/util/vec3.md)

The position of an entity interpolated to this frame.

#### Parameters

**entity**

[`Entity`](/api/net/minecraft/entity/entity.md)

The entity to interpolate.

**partialTicks**

`number`

The partial ticks, as given by a render event.

#### Returns

[`Vec3`](/api/net/minecraft/util/vec3.md)

The entity's position this frame, or null when no entity was given.

#### Example

```ts
math.interpolateEntityPosition(mc.pointedEntity, event.getPartialTicks());
```
