<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [Light](./server.light.md) &gt; [setPenumbra](./server.light.setpenumbra.md)

## Light.setPenumbra() method

Sets the penumbra of the spotlight if the light type is spotlight.

**Signature:**

```typescript
setPenumbra(penumbra: number): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

penumbra


</td><td>

number


</td><td>

The penumbra of the spotlight.


</td></tr>
</tbody></table>
**Returns:**

void

