Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

InputField.caretPosition

public int caretPosition;

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 where the selection was finished.

Did you find this page useful? Please give it a rating: