I added export (NodePath) var the_one_label
, assigned it to the Label node and changed the
func _the_wonders_of_button_1():
get_node(the_one_label).supertext.text = "your text here"
Now I get the error message Invalid get index 'supertext' (on base: 'Label').
and am a little lost.
...yes, and just understood that I changed supertext to theonelabel, so this is working. Thanks once more for your help!
The next step would be to string clicked numbers together in the label. Now there's only one being shown at a time. I assume I need a script attached to the the Label node "collecting" the various inputs to a string, something like ["x" + "y" + "z"], but in this field I don't have any experience yet at all. Is there any function made for this?