public static void ChangeTile() {
		if (!intrfce.Menu.runMenu) {
			for (int h = 0; h < Engine.mb.BLOCKS[layer - 1].length; h++) {
				for (int w = 0; w < Engine.mb.BLOCKS[layer - 1][h].length; w++) {
					if (r.intersects(Engine.mb.BLOCKS[layer - 1][h][w].r)) {
						if (isPressed) {
							Engine.mb.ID[layer - 1][h][w] = blockToChangeTo;
							currentBlock = Engine.mb.BLOCKS[layer - 1][h][w].name;
							Engine.mb.BuildBlocks();
						}
					}
				}
			}

		}
	}