UNPKG

hytopia

Version:

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

18 lines (10 loc) 411 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Player](./server.player.md) &gt; [leaveWorld](./server.player.leaveworld.md) ## Player.leaveWorld() method Removes the player from the current [World](./server.world.md) they are in. **Signature:** ```typescript leaveWorld(): void; ``` **Returns:** void