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)