How to change texture from script?

Hi, Is there any method to change texture dynamically from script file like this example in iOS?

Hi, you can change colors and whether the nodes are enables, but the issue with textures is that they won’t be saved to an effect unless they are used, and scripts doesn’t support downloading files.

There is likely a workaround that would work for you, can you explain your use case further?

Thank you for your reply,I achieved it by using multiple quads and then looping through all of them, enabling and disabling as needed.