Inventory:canItemFit
Inventory:canItemFit(x, y, w, h, item2)
This function returns whether certain size is fit with the current inventory. If it does fit, it will return true. If it's not, It will return false.
Arguments[edit]
- Integer slotX
- Integer slotY
- Integer width
- Integer height
- Item IgnoringItem
Return Values[edit]
- Boolean
Can Item fit in the inventory?
Examples[edit]
none