Not getting a clean rectangle as I expected, I think Im missing something I need to delete in the loop. I tried redrawing the whole window in the loop except it causes terrible flicker. Its just supposed to draw a clean rectange on screen, and the code is modified helpfile code. But it leaves previous lines and so forth. Any tips how to keep the rect clean? #include <WindowsConstants.au3> #include <WinAPI.au3> #Include <Misc.au3> While 1 Sleep(10) If _IsPressed("01")