Setvirtualresolution(640,480)
ResetTimer()
CreateEditBox(1)
SetEditBoxPosition(1,Random(0,100),Random(20,100))
Repeat
Print ("Y Position of the edit box is at: "+Str(GetEditBoxY(1),2))
Sync()
Until Timer()>12
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)