EDIT: here is the
- Code: Select all
if (Pen == 2)
{
moveto(LineStart.xscreen, LineStart.yscreen);
lineto(Rxy.xscreen, LineStart.yscreen);
lineto(Rxy.xscreen, Rxy.yscreen);
lineto(LineStart.xscreen, Rxy.yscreen);
lineto(LineStart.xscreen, LineStart.yscreen);
}
EDIT 2: I had changed it from xmouse and ymouse to Rxy.xscreen and Rxy.yscreen