<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [Chunk](./server.chunk.md) &gt; [getBlockRotation](./server.chunk.getblockrotation.md)

## Chunk.getBlockRotation() method

Gets the rotation of a block at a specific local coordinate.

**Signature:**

```typescript
getBlockRotation(localCoordinate: Vector3Like): BlockRotation;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

localCoordinate


</td><td>

[Vector3Like](./server.vector3like.md)


</td><td>

The local coordinate of the block to get the rotation of.


</td></tr>
</tbody></table>
**Returns:**

[BlockRotation](./server.blockrotation.md)

The rotation of the block (defaults to identity rotation).

\*\*Category:\*\* Blocks

