![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Manx191 |
Hi all,
can anyone help me as to why I can get the “.text” on the second line of code and not the first line of code?
get_node(str("BackGroundImage/VBoxContainer/MainBodyContainer/GridContainer/",ItemBuying,"VBoxContainer/MiddleContainer/HBoxContainer/Value"))
get_node("BackGroundImage/VBoxContainer/MainBodyContainer/GridContainer/Upgrade1/VBoxContainer/MiddleContainer/HBoxContainer/Value").text
How I can get the “.text” to work on the first line of code.
any help is greatly appreciated.