Godot - Change Label text
GDScript code example to change Label text.
Can specify and change display text of Label node with "text" property.
var label = Label.new()
add_child(label)
# Change Label text
label.text = "Text"
To display multi-line text, can use newline code "\\r\\n".
label.text = "Text\\r\\nNode"