I am in Paper 2D side scroller, and i want my enemy to patrol between two points. Currently he is just waling off the screen. Can anyone help with screenshots or direct me to a video that would help?

I am in Paper 2D side scroller, and i want my enemy to patrol between two points. Currently he is just waling off the screen. Can anyone help with screenshots or direct me to a video that would help?