hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
18 lines (10 loc) • 376 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Entity](./server.entity.md) > [despawn](./server.entity.despawn.md)
## Entity.despawn() method
Despawns the entity and all children from the world.
**Signature:**
```typescript
despawn(): void;
```
**Returns:**
void