threw this together quick. the @ Override is one line, osbot forums think's it's a member so it separated it
public void moveInvItem(int from, int to) {
if (from < 0) return;
Rectangle toRec = InventorySlotDestination.getSlot(to);
getMouse().continualClick(new RectangleDestination(getBot(),InventorySlotDestination.getSlot(from)), new Condition() {
@[member=Override]
public boolean evaluate() {
if (toRec.contains(getMouse().getPosition())) return true;
getMouse().move(new RectangleDestination(getBot(),toRec));
return false;
}
});
}
example usage moveInvItem(getInventory().getSlot(ITEMID),SLOTID);