How do I detect if the player is looking at an object?

can you test it during the execution to check if is it on screen?