Spawn array of multiple sprites

Hi, completely new to GDevelop - but used to code games. I want to spawn an array of sprites that follow the same behaviours/rules. I want a series of sprites to appear then bounce around a box - each changing direction when it hits a wall. I have managed to spawn multiple copies of the sprite but they all change direction when any one of them hits a wall. Is there a way to do this without creating multiple sprites each with their own name and behaviours etc? In the olden days I would have used a loop/timer to generate new sprites in an array each with an incremented number…

If they’re all changing direction when one hits the wall, you probably need to put your “Change direction” events into a “For each object” event, with the object being your sprites you’re spawning.

You can also add all of the types of sprites into an Object Group, and use that object group as the subject of the for each object event.

Thanks for the tip :slight_smile: will give it a try…