# sm.item.getStackSize

Return the stack size for the item. Returns the default stack size of 1 if the item is not found or is a Tool.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.item.getStackSize( uuid )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The item uuid. |

**Returns:**

| Type | Description |
| --- | --- |
| integer | The stack size. |
