2D Side scroller enemy

So how would I go about making an enemy like a green turtle or something in Mario, one that walks from one spot, then turns around and walks to the other and keeps doing that, There dosen’t seem to be any good tutorials on simple paper 2D enemies like that, Unless someone has one thanks!

In your Enemy BP, create an “EndPoint” Vector variable. Expose this variable and show the 3d widget.

Place your Enemy in the level, define his EndPoint by moving the widget around.

Then the easiest way to do it is to use an “InterptToMovement” component on your Actor and set it up in the construction script like so:

This is basic, the enemy will not jump or whatever, it will just move from point A (where it spawns) to point B (EndPoint).

I was reading your comment and i have a question where did you get the set method?