Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Not exactly, I made a function to tell me when the mouse was within 10 pixels of the line from any point, and then if a right click occurs it queue_frees the line. It wasn't a great solution though because if lines are overlapping and you right click near them all the lines get deleted. And there was some other funky behaviour when if the mouse was moving fast away from the line as you click it doesn't register as being near the line, so I had to track the mouse positions and add it to an array so it can use the position when the click was started, not when it finishes. Hopefully that makes sense haha

That makes sense. It seems like you essentially coded the mouse_entered signal yourself, which if my experience is anything to go off was probably the right call. I was able to generate an area 2d with a collision box aligning with the bounds of the line, I just couldn't get the cursor to collide with it, but with a bit of experimentation it might be a better solution than mouse_entered or manual proximity detection.