10 Mar 2022, 20:58

I’m thinking that instead of adding structures to your array, you can add sprites directly. Sprites already have a .x and .y automatically. Also, sprites are special because you can add new custom parameters on the fly, like this:

s = createSprite()
s.myParam = 42
s.anotherParam = “smurf“