Setvirtualresolution(640,480)
ResetTimer()
AddVirtualButton(1,320,240,80)
SetVirtualButtonActive(1,0)
Repeat
If GetVirtualButtonState(1)=1
Print("Button Down")
EndIf
If GetVirtualButtonState(1)=0
Print("Button Up")
EndIf
Sync()
Until Timer()>12
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)