Store the slot position or the original X & Y co-ordinates as instance/object variables on the object that gets added to the inventory.
Store the slot position or the original X & Y co-ordinates as instance/object variables on the object that gets added to the inventory.