# GetTextCharX

## Description

Returns the current X position of the specified character relative to the text object.

## Definition

float GetTextCharX( iTextIndex, iCharIndex )

float agk::GetTextCharX( UINT iTextIndex, UINT iCharIndex )

## Parameters

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