0 votes

So, i want to make an export variable that similar to text property in Label.
that property allow you to write string using large separate window like picture below:

enter image description here

What type do i need to write in my export variable type?
If i use the String type there is no large separate window available.

in Engine by (81 points)

1 Answer

+1 vote
Best answer
export(String, MULTILINE) var text

http://docs.godotengine.org/en/stable/reference/gdscript.html#exports

(edit: updated link)

by (464 points)
edited by

Page not exist.
But well, it's works. So it doesnt matter.
The last time i checked the docs the multiline isnt there.
Thank you

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.