79731913

Date: 2025-08-11 10:00:48
Score: 1.5
Natty:
Report link

The best course of action was to skip using a CollisionPolygon2D at all and instead just check Geometry2D.is_point_in_polygon(pos, polygon.polygon) on the visual Polygon2D. Where pos is the position of the mouse.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Zoom