BIG Problem,.. box slow at following the cursor..?

BlitzMax Forums/BlitzMax Beginners Area/BIG Problem,.. box slow at following the cursor..?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Graphics 640, 480, 0, 0

While Not KeyDown(KEY_ESCAPE)
Local XPos:Int = MouseX()
Local YPos:Int = MouseY()

DrawRect(XPos, YPos, 20, 20)

Flip
Cls

Wend
End



This doesn't lag for me.