Hi all,
I would like to draw line across the screen with either touch or mouse.
I have searched for information to do this.
here;-
trying-to-draw-a-line-starting-from-the-point_t63632
Where an example is suggested but it doesn't seem to relate to drawing a line only creating a fixed line between two objects.
Kyatric who suggested the above example has a page of lots of techniques, this was the only one about drawing a line.
On another thread I found a decent explanation
how-do-i-draw-lines_t91464?start=10
but it was shut down for being too old.
I have managed to implement the technique given in that second link, thanks —, but while i can draw line, even a squiggly line, on release of touch or mouse, a line is continued from the last touch x, y to 0,0 and i can't understand why.
Does anyone have any ideas what could cause it?
https://drive.google.com/open?id=1jsfZb ... Aba3lO3sgU
I added this code to an already existing project, not a big project but with plenty of events. I have removed all the other stuff in this copy but i still get the line drawn on release.