How to detect if a player is looking at an entity precisely?

How to detect if a player is looking at an entity precisely?

Continue to help post