public void mouseMoved(MouseEvent e) {
			// TODO Auto-generated method stub
			handXPos = e.getX();
			handYPos = e.getY();
			handInView = e.getSource().equals(mapScrollPane.getMapView());
			footerContainer.updateHand(handXPos, handYPos);
			boolean found = false;
			if (hand != 0)
			{
				//Check that map is created
				if (mapScrollPane.isCreated())
				{
					//Check if the map is inside the map
					if (mapScrollPane.getGridBoundary().contains(handXPos, handYPos))
					{
						//Look up in which tile the cursor is
						Tile[][] grid = mapScrollPane.getGrid();
						for (int i = 0; i < grid.length && !found; i++)
						{
							for (int j = 0; j < grid[i].length && !found; j++)
							{
								if (grid[i][j].contains(handXPos, handYPos))
								{
									found = true;
									mapScrollPane.setCurrentObject(new MapObject(grid[i][j], objSize, mapScrollPane.TILE_SIZE, new Point(i,j))) ;
								}
							}
						}

					}
				}
			}
			if (!found)
			{
				mapScrollPane.setCurrentObject(null);
			}
			mapScrollPane.getMapView().repaint();
		}