Setvirtualresolution(640,480)
ResetTimer()
CreateText(1,"Example")
SetTextSize(1,Random (10,35))
SetTextString(1,"This Text Width Is: "+Str(GetTextTotalWidth(1),2))
SetTextPosition(1,8,80)
Repeat
Sync()
Until Timer()>12
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)
Setvirtualresolution(640,480) ResetTimer() CreateText(1,"Example") SetTextSize(1,Random (10,35)) SetTextString(1,"This Text Width Is: "+Str(GetTextTotalWidth(1),2)) SetTextPosition(1,8,80) Repeat Sync() Until Timer()>12 End