AI Movement

Hi

I really need an enemy that can only move in 4 directions and use pathfinding in the same way. up, down, left and right.

Please can anybody help