EditBox:GetCursorPosition

From Warcraft Wiki
Jump to navigation Jump to search

Returns the position of the editbox cursor.

position = editBox:GetCursorPosition()

Returns

position
Number - Index of the character in the editBox's text after which the cursor is placed, e.g. 0 meaning before the first character, 1 meaning after the first character.

See also