Talk:DrawIT/@comment-26522612-20150730175300

If you want to use two locations, put in this code:

@TWOPOINT

X1=TCHX:Y1=TCHY

@WAIT

IF TCHST=TRUE THEN GOTO @WAIT

X2=TCHX:Y2=TCHY

RETURN

If you want a tool to use two locations, just GOSUB @TWOPOINT and put something like

GLINE X1,Y1,X2,Y2,COL

GLINE can be GBOX,GFILL, and all those. Just tips MXcoder. You can change the variables names if you want, I actually haven't look into the code of DRAWIT much. I hope I helped.