0 votes

This might be a silly question, so apologies in advance if it is:

I have a RichTextLabel and I want to give the player the ability to write text in it. But this doesn't work by default and I cannot find any setting to enable it. Is it possible at all?

in Engine by (242 points)

1 Answer

0 votes

Is there any reason, you don't want to use a TextEdit-node? That being said, you could listen for user input and then change the text- or bbcode_text-properties of your RichTextLabel from the code accordingly.

by (10,221 points)

It doesn't necessarily have to be a textedit node, but how coudl I generally get textinput from a user?

Just ignore my last comment, just using a TextEdit nodes is all I needed.
Sorry, didn't use text much yet in Godot and didn't know TextEdit nodes existed :)

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 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 webmaster@godotengine.org with your username.