Version: 2017.3

InputField.GetCharacterIndexFromPosition

Switch to Manual
protected int GetCharacterIndexFromPosition (Vector2 pos);

Parameters

pos Mouse position.

Returns

int Character index with in value.

Description

The character that is under the mouse.