Change variable name with a For?

Hello, I am creating an app but I have a little problem.
The problem is that I use multiple "ImageSprite", I need to change all the pictures of the images.
Example:

What I would like to do is create a For to do that.
Example:

Is there a way to do something like that?

Using the anycomponent block for an imagesprite, and putting all your imagesprites in a list, this will assign and image to each sprite based upon number. ImageSprite1 = image1.png, ImageSprite2 = image2.png, and so on. (assumes the images are stored in your private directory)

image

2 Likes

Thank you! That's exactly what I wanted to do! :smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.