Hi,
I've tried looking for the source code which allows the adding of points to a Line2D node in the editor (and not the add_point() function). I have found this https://github.com/godotengine/godot/blob/master/scene/2d/line_2d.cpp but I don't think that contains any code relating to what I'm looking for. Does anyone happen to know a link for the relevant source code page?
(FYI, I'm looking for the source code because I'm trying to figure out how Godot detects when the mouse cursor is on a line segment)

Thanks.