UNPKG

hytopia

Version:

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

20 lines (11 loc) 497 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [EntityManager](./server.entitymanager.md) &gt; [getAllEntities](./server.entitymanager.getallentities.md) ## EntityManager.getAllEntities() method Gets all spawned entities in the world. **Signature:** ```typescript getAllEntities(): Entity[]; ``` **Returns:** [Entity](./server.entity.md)<!-- -->\[\] All spawned entities in the world.