Is there a way to pick out a sprite from an arbitrarily large pool of sprites, solely based on x-value?
Develop games in your browser. Powerful, performant & highly capable.
use "for each (ordered)"
For each sprite order by sprite.x ascending
and then just put "stop loop" somewhere amongst the resulting actions.
Fantastic. Thanks! Can't believe I haven't thought of that.
I had the same thought when someone else posted it.