This version of Unity is unsupported.

InputField.GetCharacterIndexFromPosition

Declaration

protected int GetCharacterIndexFromPosition(Vector2 pos);

Parameters

pos Mouse position.

Returns

int Character index with in value.

Description

The character that is under the mouse.