(AGK version: 108.14)
Submitted: 2013-07-01 14:36:40
Setvirtualresolution(640,480)
ResetTimer()

AddVirtualButton(1,Random(80,560),Random(80,400),80)
SetVirtualButtonVisible(1,0)
Repeat
    Print("You have 20 seconds to find the missing button")
    If GetVirtualButtonPressed(1)
        SetVirtualButtonVisible(1,1)
        SetVirtualButtonText(1,"Got Me")
    EndIf
    Sync()
Until Timer()>20
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.