how to skethup lines at runtime with mouse position

see i want to make some sketchup for my project that when I click first time it will take start coordinate and when i click second time it will draw line please help me

Use LineRenderer, if you look it up here and on the forums, you’ll find tons of resources and examples.