do
cls
XPOS=mousex()
YPOS=mousey()
box XPOS,YPOS,XPOS+4,YPOS+4
`circle XPOS,YPOS,32
loop
Ok that's the code I was playing around with when I found this. Surely
clsing before drawing a box should make all previously drawn boxes disapear? - It only does this if you add a command like circle (commented out)
This seems kind of random and probably an undesired affect, as you'd have to use
box 0,0,screen width(),screen height(),rgb(0,0,0),rgb(0,0,0),rgb(0,0,0),rgb(0,0,0)
to clear the screen properly when it's doing this...
Even simpler example of it breaking:
box 4,4,20,20
wait key
cls
wait key
It should remove the box, no? xD