Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UI.InputField.GetCharacterIndexFromPosition

Switch to Manual
protected function GetCharacterIndexFromPosition(pos: Vector2): int;

Parameters

pos Mouse position.

Returns

int Character index with in value.

Description

The character that is under the mouse.