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

Thank you so much, this has been so helpful so far. I am quite new to Unreal development and I would love to know exactly how to make separate lines with this project. I have tried for a while now to make an array of arrays and such but it’s just not working in my favor. Sorry to dig up this post again