(AGK version: 108.14)
Submitted: 2013-06-30 13:09:05
Setvirtualresolution(640,480)
ResetTimer()

Repeat
    If GetVirtualButtonExists(1)
        If GetVirtualButtonPressed(1)
            DeleteVirtualButton(1)
        EndIf
    Else
        AddVirtualButton(1,Random(40,600),Random(40,440),80)
    EndIf
    sync()
Until Timer()>12
End
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.