(AGK version: 108.14)
Submitted: 2013-06-23 04:07:38
Setvirtualresolution(640,480)
ResetTimer()

CreateText(1,"Example Text")
CreateText(2,"")
SetTextSize(1,35)
SetTextSize(2,35)
SetTextPosition(1,10,50)
SetTextPosition(2,10,55)
SetTextColor(1,255,0,0,255)
SetTextColor(2,0,255,0,255)

SetTextDepth(1,10)

//Set Text object 2 to its depth value
Repeat
For d=1 to 20
    SetTextDepth(2,d)
    SetTextString(2,Str(GetTextDepth(2)))
    Sleep(500)
    Sync()
Next d
Until Timer()>15
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.