<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [MoveCallback](./server.movecallback.md)

## MoveCallback type

A callback function called when the entity associated with the SimpleEntityController updates its position as it is attempting to move to a target coordinate.

**Signature:**

```typescript
export type MoveCallback = (currentPosition: Vector3Like, targetPosition: Vector3Like) => void;
```
**References:** [Vector3Like](./server.vector3like.md)

