Look at event?

I’m creating a horror game and would appreciate if it was possible to call a event when the player looks at a object, thus giving me the opportunity to scare the (unecessary curse word) of the person.

No answer :’( Is this possible?

I would use line traces. Maybe this helps:

My bad didn’t search correctly :’(