# Harvestable.getRotation

Returns the quaternion rotation of a harvestable.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
harvestable:getRotation(  )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Harvestable.md#getrotation)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `harvestable` | [Harvestable](../Game-Script-Environment/Userdata/Harvestable.md) | The harvestable. |

**Returns:**

| Type | Description |
| --- | --- |
| [Quat](../Game-Script-Environment/Userdata/Quat.md) | The rotation. |
