Trigger event when Player faces an object

Hi guys. I’m a newbie and such at coding but have been using uScript and having a lot of fun with it lately.

I’ve managed to setup simple triggers whereby the player enters a box collidor and it causes x event to happen. However, I’d like the events to be when the player is directly over it, such as an object on a table. I haven’t been able to figure out the best method for this yet.

Thanks!

Vector3.AngleBetween

or

Physics.Raycast