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
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