godot3 LineEdit set_cursor_pos?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kyla

Lineedit in 2.1 set_cursor_pos
Not in 3.0
What should I use instead?
I tried caret_position and select
They can’t do it

As long as lineedit can get the cursor

:bust_in_silhouette: Reply From: uralys

I use

line.caret_position = len(line.text)

to move to the end of the line.
use whatever num it should work as well