(AGK version: 108.14)
Submitted: 2013-06-30 04:33:26
Setvirtualresolution(640,480)
ResetTimer()

CreateText(1,"Left Right Direction")
SetTextSize(1,25)
x=200
SetTextPosition(1,x,100)
Repeat
    SetTextPosition(1,x,100)
    x=x+GetDirectionX()*2
    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.