<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [Entity](./server.entity.md) &gt; [setEmissiveColor](./server.entity.setemissivecolor.md)

## Entity.setEmissiveColor() method

Sets the emissive color of the entity.

Use for: glow effects or highlighted states.

**Signature:**

```typescript
setEmissiveColor(emissiveColor: RgbColor | undefined): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

emissiveColor


</td><td>

[RgbColor](./server.rgbcolor.md) \| undefined


</td><td>

The emissive color of the entity.

\*\*Side effects:\*\* Emits `EntityEvent.SET_EMISSIVE_COLOR` when spawned.

\*\*Category:\*\* Entities


</td></tr>
</tbody></table>
**Returns:**

void

