GetTextHitTest

Description

Returns 1 if the given point in world coordinates is inside the bounding box of the text. If you are testing a mouse or touch coordinate, remember to convert it to world coordinates using ScreenToWorldX and ScreenToWorldY.

This does not take into account individual character positions, for example if you have positioned a character using SetTextCharX or similar. Only the bounding box created by drawing the characters in their default positions is checked.

Definition

integer GetTextHitTest( iTextIndex, x, y )

Parameters