haracter persecute another in a 1 axis (X and Y axes of the plane) ?

Hi I cant find a way to make a character persecute another in a 1 axis (X and Y axes of the plane) is he only pursues a line from right to left or up and down no matter the character pursued to move in all directions pocibles
Comments