How can I see if a player is looking at a created actor?

Thanks for the help, it works! You are the best.