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

AddVirtualButton(1,320,240,80)

Repeat
    If GetVirtualButtonPressed(1)
        SetVirtualButtonPosition(1,Random(80,560),Random(80,400))
    EndIf
    sync()
Until Timer()>15
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.