how can I remove the drawn line in the panel if it didn't successfully hit the point?

Printable View