# sm.cell.getHarvestablesByUuid

Returns a table of [Harvestables](../Game-Script-Environment/Userdata/Harvestable.md) of a given size for a cell coordinate and Uuid.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.cell.getHarvestablesByUuid( x, y, uuid, size )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.cell.md#getharvestablesbyuuid)

**Availability:** Server only

Sizes are:

0: Tiny - plants and crops.

1: Small - small trees and rocks.

2: Medium - medium trees, visible at a long distance.

3: Large - large trees, visible at a very long distance.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `x` | integer | The X-coordinate. |
| `y` | integer | The Y-coordinate. |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The uuid of the harvestable(s) |
| `size` | integer | Size of harvestable (defaults to any size). |

**Returns:**

| Type | Description |
| --- | --- |
| table | A table \{[Harvestable](../Game-Script-Environment/Userdata/Harvestable.md), ...\} of harvestables. |
