I would like to draw Bezier curves with a start, end, and a couple of control points (so Cubic Bezier curves).
As a part of this, I'll need to be able to ascertain whether the mouse is over the line (so that it changes color, indicating to the user that it is selectable).
I know the geometric Line primitive has no width - so I assume this is to be done with an Area2D which has a defined CollisionPolygon2D which closely follows the line except slightly wider (to create an actual area), then move a "hidden" object under the mouse which would trigger the line?
That sounds very convoluted and I was wondering if that's the right way or if there's a better way. Thank you!