hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
16 lines (9 loc) • 558 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [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)