Vizard 7 » Command Index » Vizard objects » node3d » <node3d:GUI:textbox>.getCursorPos
7.7

<node3d:GUI:textbox>.getCursorPos

Returns the position of the cursor in the textbox.

<node3d:GUI:textbox>.getCursorPos()  

Remarks

This command will return the position of the cursor in the textbox. The position represents the zero-based index of the insert position. For example, if the cursor is at the beginning of the text, the position is 0. If the cursor is between the first and second character, the position is 1.

Return Value

Cursor position.