Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Robster | |
Old Version | Published before Godot 3 was released. |
Hi all,
I have this:
var currentTexture = get_node("TextureButton").get_normal_texture()
If I print that I get something like [ImageTexture:1500]
or [ImageTexture:1363]
I’m looking to find something like truck.png
or car.png
for example.
I’ve looked at the docs for Texture etc but can’t find anything related to this. Can it be done?
Thanks so much…