NikZ wrote...
But anyway, yours is shorter, so if people can refer to your code if they choose.

public void check() { if (isTouching(Blank.class)) { Actor blank = getOneIntersectingObject(Blank.class); int x = getX(); int y = getY(); setLocation(blank.getX(), blank.getY()); blank.setLocation(x, y); } }