hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
20 lines (11 loc) • 489 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [LightManager](./server.lightmanager.md) > [getAllLights](./server.lightmanager.getalllights.md)
## LightManager.getAllLights() method
Retrieves all spawned Light instances for the world.
**Signature:**
```typescript
getAllLights(): Light[];
```
**Returns:**
[Light](./server.light.md)<!-- -->\[\]
An array of Light instances.