# SetTextCharColorAlpha

## Description

Sets the alpha component of the specified character's color. Using the SetTextColor command will override this. Values should be in the range 0-255.

## Definition

SetTextCharColorAlpha( iTextIndex, iCharIndex, alpha )

void agk::SetTextCharColorAlpha( UINT iTextIndex, UINT iCharIndex, UINT alpha )

## Parameters

- iTextIndex - The ID of the text object to set.
- iCharIndex - The index of the character to set, indexes start at 0, if the index is out of range it will be ignored.
- alpha - The new alpha value to use