Returns whether an inventory slot is locked. Items become locked while being moved, split, or placed into other UI elements (such as the mail, trade, and auction windows); the item is unlocked once such an action is completed.
See also Inventory functions.
Signature:
isLocked
=
IsInventoryItemLocked(slot)
Arguments:
slot
- An inventory slot number, as can be obtained fromGetInventorySlotInfo
(number
, inventoryID)
Returns:
isLocked
- 1 if the item in the inventory slot is locked; otherwise nil (1nil
)