Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
stack.GetPosition() has no arguments.
- ''String OR Number''
- The bag the item is in. If it is in the main backpack it will be a three digit number. 101 is the first bag screen, etc. If it is in an item bag it will return the item GUID.
- Returns the slot number the item resides in. Slots are numbered right to left, bottom to top.
local bag,slot = stack.GetPosition()
print("Item position: "..bag..", "..slot)