What I figured so far, but having problem implementing it in code:
On Layout Start: Spawn sprite in position(x,y)
For each spawned sprite
___Store sprite.x in array.pos(0,0)
If array.pos(0,0) < 800
___Spawn sprite in position (x,y)
___Store recent spawned sprite.x in array.pos(0,0)
Now the problem is that the x of the sprite is constantly moving at different speeds, I have to track it all the time. I was wondering how to do that?
Also, how do I store the recent spawned X in the array?
The sprite has a CustomMovement behaviour.