CharFromPoint()

Syntax:

textObject.CharFromPoint( PosX, PosY )

Return:

The index position of the character closest to the given position.

Parameters:

PosX - The x coordinate of the top-left of the character relative to the Text object.

PosY - the y coordinate of the top-left of the character relative to the Text object.

Remarks:

The position values describe the position assuming no effects or animations applied (rotation/scale etc.).

image\Script_Button.jpgExamples