*HELP* -- remove or change the texture of a GUI using code? (SOLVED)

Anyone?..can you give me a sample code snippet on how to do it…thanks! :’)

1 Like

You can find hints here. :wink:

2 Likes

You can change which image in an atlas that a box node is using through gui.play_flipbook(). If you want to change to a dynamically loaded texture you need to create and set the texture using the corresponding gui functions. You can see an example of this here: https://github.com/britzl/publicexamples/blob/master/examples/loadtexture/loadtexture.gui_script#L15

2 Likes

thanks!.it actually works now… :’)

1 Like