@Override
	public void mouseMoved(MouseEvent e) {
		mx = e.getX();
		my = e.getY();
		if(mouseOnScreen){ //Make sure mouse is on-screen
			gridx = Math.round((mx-craftGridXOffset)/craftGridSize) - craftGridXStartOffset;
			gridy = Math.round(my/craftGridSize) - 1;
		}
		
		if(sidePanel==INVENTORY){
			int sidePanelWidth = 11*craftGridSize;
			int sidePanelHeight = 14*craftGridSize;
			if(mx >= sidePanelX & mx <= (sidePanelX+sidePanelWidth)
			&  my >= sidePanelY & my <= (sidePanelY+sidePanelHeight)){ //If mouse is inside.
				Item tempItem = getItemUnderMouseFromInventory(mx, my);
				if(tempItem!=sidePanel_Item){
					sidePanel_Item = tempItem;
					if(sidePanel_Item!=null){
						sidePanel_Item_Over=0;
						System.out.println("Mouse over item: " + sidePanel_Item.getName() + " level " + sidePanel_Item.getLevel());
					}
				}
				
			}
		}

	}