Hi,
I’d like to be able to do a for loop to assign sprites to a number of sprite variables that are named with a sequential marker. Like in the title - sprite1, sprite2, sprite3, etc.
So basically I want to do something like:
for (i = 1; i < 4; i++)
{
sprite+"i" = newSprite*;*
}
Is that possible? I know one way is to create an identical array of sprite names, but I was curious if there’s a way to reference the variables directly.
Thanks!