How to create moving and shooting enemies

Hello, I’m new to using Unreal Engine, and making games for that matter. I’m currently making a 2D side scroller, and I need to know how to make an enemy that can move around and shoot. I’ve been watching tutorials of a guy making a 2D side scroller, but he never got around to making enemies. I’ve followed his coding and such, and when I watch other people try to do it, their code is entirely different. If there is a way to make enemies from scratch, that’d be great. Tutorial videos or articles would be helpful, or if there’s another way of showing me, that’d be good too. Thank you for taking your time to read this, and I hope to hear back from people wanting to help! Thank you!

3 CORE things you need to learn are.
AI controllers.
Behavior trees.
character Blueprints