How do I start at making a Paper2D AI that can chase the player, and attack? Preferably C++, but Blueprints is fine too.

I’m starting out using unreal engine in general, specifically ue5. I decided to make a Paper2D game, and was wondering how to make Paper2D pawns that can move and chase the player, then attack if within a certain range. I am unsure on how to do this part with the AI stuff. I’ve tried a couple things like the AI move to blueprints, but I can’t seem to get it to work. Any ideas?