I got this to work part way, but it ain't working correctly.
I want to swipe the screen in an up or down motion and a line will draw from the start of the touch, either horizontally or vertically (depending on the general direction of the swipe) until it hits a wall on either side.
Once the line has drawn it should just stay that way.
I should be able to swipe multiple times in either direction while the lines draw.
I can draw multiple lines, but they all flip in direction when I change my swipe direction. I only want the swipe angle to affect the line that is currently being drawn.
Capx is here (let me know if this doesn't work - I'm a nOOb at that too :o)