# GetTextCharColorGreen

## Description

Returns the green component of the given character color. The value will be in the range 0-255.

## Definition

integer GetTextCharColorGreen( iTextIndex, iCharIndex )

UINT agk::GetTextCharColorGreen( UINT iTextIndex, UINT iCharIndex )

## Parameters

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