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

sm.item.getStackSize( uuid )

Open the full Game reference

Parameters:

Name Type Description
uuid Uuid The item uuid.

Returns:

Type Description
integer The stack size.