Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | plambrecht |
I have updated an app created in Godot 3 to Godot 4 and have been able to figure out all the manual changes I needed to do except for the following.
I get this message:
Invalid call. Nonexistent function 'set_normal_texture' in base 'TextureButton'.
When trying to run the following:
NewDieTexture = load("res://images/d" + str(DIE_NUMBER) + "_off.png")
get_node("/root/Standard_d20/TextureButton_DIE_SCROLL").set_normal_texture(NewDieTexture)
Any help would be greatly appreciated. Thank you.