I started to play around with the _IsPressed function and it's a lot of fun.
I made this script below for fun and I want to stop the Gray box from going through the Red box any ideas?
#include<misc.au3>
#include<windowsconstants.au3>
#include<guiconstants.au3>
$gui = GUICreate("Gui",300,300,-1,-1,BitOR($WS_EX_WINDOWEDGE,$WS_POPUP))
$pic = GUICtrlCreateInput("",50,50,36,36)
GUICtrlSetState($pic,$GUI_DISABLE)
GUICtrlSetBkColor($pic,0xFF0000)
GUISetBkColor(0x000000)
$inp = GUIC