# Harvestable.getType

Returns the type of a harvestable.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| string | The harvestable's type. |
