There are many situations where you need to record and play exact smae positions of the line. to make sure that behaviour is correct. Or maybe you want even want to make multiplayer drawing and you need to serialize data.
This simple script just demonstrate how you can record data to file and then load it back on scene start
You can see here that I use ScreenCameraController It was just a quick demo so I used this refference to get actual line config and get access to GetWorldPosition method (which is private by default). For production purpose it's better to implement own component inherited from InputController class and use [Begin |End|Continue]Line method. you don't need something else