private int whichSlot()
    {
        for(int i = 0; i < cSelect.getInventory().getSize(); i++)
        {
            if(within(cSelect.getInventory().area(i))) {
                return i;
            }
        }
        return -1;
    }