In my game I have a number of the same objects and I was wondering if it was possible to select the objects that have the lowest y value and then destroy them.
Develop games in your browser. Powerful, performant & highly capable.
Yes.
For each object (ordered)
ordered by object.y (ascending):
destroy object
(system) stop loop
Thanks