0 votes

Hi All,

I'm trying to create a terminal-like scene composed of Label (ex: [email protected] ~) overlapping with a LineEdit,

I specifically want to use the caret_position (documentation) to move the caret from x pixel / character to the right.

For now, I can put any value, the caret doesn't move.

Any other method I can use to achieve this ?


in Engine by (16 points)
edited by

I also tried using setcursorposition(value) same thing in that case I might now have a good understanding of the documentation.
It says: "says: "The cursor’s position inside the LineEdit. When set, the text may scroll to accommodate it."

I understood reading the code here:
the cursor position back scroll the text value (no use for my problem),

1 Answer

0 votes

can close now.

by (16 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.