Stack.GetAmount

Pilus edited this page Aug 11, 2015 · 1 revision

Syntax:

stack.GetAmount()

Arguments:

stack.GetAmount() has no arguments.

Returns:

amount
"Number"
The number of items in the current stack.

Example:

local stackSize = stack.GetAmount()

print("Item Amount: "..stackSize)

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.