Hey @WilliamAlex0! Welcome to the forums!
You may need to go into your AI Controller (NOT BP_Enemy) and enable/disable “Set Rotation from Pawn Orientation.” Go try that and see what happens.
Also you may need to disable the “Use controller desired rotation” alongside this.
What combination of these settings to use will depend on how it’s coded by you!