dragToSlot

open fun dragToSlot(index: Int): Boolean

Drags this item to the specified inventory slot

Return

true if dragged, false otherwise

Parameters

index

the inventory slot index, in the range [0, 27]