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)