I've created a line in Corona using display.newLine() thanks to tutorials online. I'm still learning, so I have a few questions.
Is it possible to create touch events for the drawn line? Like once I have the line on my scene, if I touch that line, something should happen.
If it is possible, how do I do this? I tried what I would do with other objects and used something like line:addEventListener("touch", something) but it did not work.
Also, is it possible to create some sort of animation for the drawn line? Like draw the line, the after a few frames, erase it and draw a new one? (I'm talking about automatically instead of drawing it through touch events)
Lastly, is it possible to draw a curved line using only 1 line? I'm trying to avoid having to use so many lines if I'm going to create some sort of animation using the line drawn.