Use arrows to move A and B.