Checking if player is looking at an actor

I’m not quite sure what you want to achieve with this Blueprint… At the moment you’re only printing some math results to the screen every time you press ‘H’. If this is your intended functionality and you can’t get it to work: Make sure to enable input for your actor with the ‘EnableInput’ method (it’s expecting a reference to the Actor the input should be enabled for and a PlayerController which’s getting input, so normally the one with index 0).

Ok so i’ve got this but i can’t get it to work.

I want to chcek if player is looking at this blueprint.
Thx!

u already have Raycast/linetracing functions in blueprint.

https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/index.html

why not use the “look at rotation” to get the angle/rotation between locations?