A and D to flip the magnet to get it to the other lane.and remember to press the "incorrect" direction when the other lane is of same polarity than the one you are hopping from.