how to move with direction