coords_to_position


Description:

[ Version ( since = "1.10" ) ]
public int coords_to_position (float x, float y)

Retrieves the position of the character at the given coordinates.

Parameters:

this

a Text

x

the X coordinate, relative to the actor

y

the Y coordinate, relative to the actor

Returns:

the position of the character