I am not sure what I am asking is even possible.
So am developing one game where am drawing something like a straight line, circle, random zig-zag lines using paster.
What i want is when user touch is end that zig zag should convert in a sprite or anything like in one object.
Why i want this?
Previously i was using sprites to draw zig zag lines.
But it was creating lot of sprites which might lag the game in a time.
So i am using paster plugin for it.
After drawing one line if user try to draw another zig-zag line it should not create until user has created that line from the previous line.
Below is the example.
BLUE - first line
Red - Second line
So basically second example should not happen.
User can create second line if he/she is making line from first one.(should happen- first example)
I am not able to find collision or area of paster to draw a line only like first example.