Hello guys, how do i make an enemy follow me when i'm not looking at him?

hello guys, how do i make an enemy follow me when i’m not looking at him, and stop when i’m looking, how do i do this event when looking with the camera?

I haven’t really fiddled around with it too much, but I’m pretty sure this does exactly that.

https://docs.unrealengine.com/en-US/BlueprintAPI/Utilities/ProjectWorldtoScreen/index.html

So if I understand correctly, you should be able to plug your player controller and reference your actor “get actor location” and plug that location into the node as well. It produces a boolean if said reference is on your screen.

You then could run a tick checking if the boolean is true or false. If its false have your pawn follow the player.
If you don’t know how to do that, it would be heckin’ easy to frankenstein this in

Several examples here:

thanks for helping me, it worked out

thanks for the examples