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