Actor won't rotate to follow target (BP)

I have a turret for a tower defense game but it wont rotate around to look at its target, I think the problem might be with how it finds targets as when the turret is spawned it spawns facing the correct location but won’t follow the target when the target moves.

here are the blueprints.

The event graph:

78656-screenshot008.jpg

this is the detectenemy function:

and the getenemyposition function:

78658-screenshot010.jpg

To recap the turret doesn’t rotate to follow the target, what do I need to do in order to get the turret to rotate to look at the target? Thanks!

If more information is needed just ask! I really need this to be answered soon as it is part of an assignment!