Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

InputField.caretPosition

Switch to Manual
public var caretPosition: int;

Description

Current InputField caret position (also selection tail).

The location where entering new text will begin. If there is selected text this will refer to the last index of the selection.