UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

16 lines (9 loc) 464 B
<!-- 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 Callback invoked as the entity moves toward a target coordinate. **Signature:** ```typescript export type MoveCallback = (currentPosition: Vector3Like, targetPosition: Vector3Like) => void; ``` **References:** [Vector3Like](./server.vector3like.md)