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

AddVirtualButton(1,320,240,80)
AddVirtualButton(2,100,240,80)

Repeat
    If GetVirtualButtonPressed(2)
        SetVirtualButtonSize(1,50)
    EndIf
    If GetVirtualButtonPressed(1)
        SetVirtualButtonSize(1,80)
    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.