hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
16 lines (9 loc) • 588 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [MoveCompleteCallback](./server.movecompletecallback.md)
## MoveCompleteCallback type
A callback function called when the entity associated with the SimpleEntityController reaches the target coordinate. An entity must reach the x,y,z coordinate for the callback to be called.
**Signature:**
```typescript
export type MoveCompleteCallback = (endPosition: Vector3Like) => void;
```
**References:** [Vector3Like](./server.vector3like.md)