How would I detect if the player can see an object?

WorldToScreenPoint is the best solution.

e.g.

local _, withinScreenBounds = Camera:WorldToScreenPoint(part.Position)

if withinScreenBounds then
   -- We have successfully detected if the player can see the part.
end
63 Likes