<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [EntityModelNodeOverride](./server.entitymodelnodeoverride.md) &gt; [setLocalRotation](./server.entitymodelnodeoverride.setlocalrotation.md)

## EntityModelNodeOverride.setLocalRotation() method

Sets the local rotation for matching nodes.

**Signature:**

```typescript
setLocalRotation(localRotation: QuaternionLike | undefined): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

localRotation


</td><td>

[QuaternionLike](./server.quaternionlike.md) \| undefined


</td><td>

The local rotation to set.

\*\*Side effects:\*\* Emits `EntityModelNodeOverrideEvent.SET_LOCAL_ROTATION` when spawned.

\*\*Category:\*\* Entities


</td></tr>
</tbody></table>
**Returns:**

void

