I was thinking lookvector, but then, what would I compare that value to; to check if the camera is looking at it?
COMMUNITY QUESTION
What would I use to check if a player is looking at something?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Not a request site.
"Not a request site", thank you sherlock. I was asking what to use, not to get scripts.
You could cast a ray from the lookvector and see if the ray hits the part you want to check for. Here's a raycasting tutorial: https://developer.roblox.com/en-us/articles/Making-a-ray-casting-laser-gun-in-Roblox