Use mouse draw line in the 2D,how to do?

I think that HUD’s class allows for tinkering with line’s size.

How to paint separate line - can’t remember this setup well but I’d create an array of points arrays. Add new elements once you’ve finished with your line.

As in, contain a set of points which makes a line within an outer array that contains the lines. Rinse & repeat.