![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | ondesic |
Is there a way to take a long line of code and split it to 2 lines so it is easier to read?
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | ondesic |
Is there a way to take a long line of code and split it to 2 lines so it is easier to read?
![]() |
Reply From: | Socrates |
Use two indentations on the second line and it reads it as one line
![]() |
Reply From: | Zylann |
In GDScript you can use \
:
var text = "Hello " \
+ "World, " \
+ "I am Zylann"
I think this should be added to the GDScript documentation.
Diet Estus | 2018-04-13 20:01
You can add it if you’d like! Great thing about open source projects!
t8 | 2021-11-13 13:31