hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
14 lines (8 loc) • 411 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [LightOptions](./server.lightoptions.md) > [attachedToEntity](./server.lightoptions.attachedtoentity.md)
## LightOptions.attachedToEntity property
If set, the light will be attached to this entity.
**Signature:**
```typescript
attachedToEntity?: Entity;
```