How do I get walking enemys with health in 2D

I’m new to UE4 and got into some tutorials and i just can’t figure out how i get an actor with flipbook animation actually move through the level. I tryed NavMesh but that didn’t went as well as in 3D and the tutorial about the “stick figures flying potato enemys” are just projectile movements, but thats not what I want to do.

Here are the facts:
Its an actor.
Its has a paper flipbook Component so it looks like its walking.
It has a collision box for when it hits the player, the player gets damaged.

What I want:
Maybe the actor should move on the the ground and if it falls down to another level it should change direction when it hits the ground or a wall so it want fall off the cliff in a level without boundings or just move endlessly agains the wall.

Do anyone have any idea how it could possibly be done in a 2D Game?