<!-- 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; [setTrackedPosition](./server.light.settrackedposition.md)

## Light.setTrackedPosition() method

Sets the position the spotlight will constantly point at if the light type is spotlight.

**Signature:**

```typescript
setTrackedPosition(position: Vector3Like): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

position


</td><td>

[Vector3Like](./server.vector3like.md)


</td><td>

The position the spotlight will constantly point at.


</td></tr>
</tbody></table>
**Returns:**

void

