Setvirtualresolution(640,480)
ResetTimer()
CreateText(1,"Example Text")
SetTextSize(1,35)
SetTextPosition(1,8,80)
//The 'm' is character 3 in the example text (range starts at 0)
//Set 'm' character to a random color/alpha value
SetTextCharColor( 1,3, Random(0,255), Random(0,255), Random(0,255), Random(100,255) )
//Get and display the current alpha component value
Repeat
Print ("The Alpha Component Value of 'm'= "+Str(GetTextCharColorAlpha(1,3)))
Sync()
Until Timer()>12
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)