So, I am generating a 'line' of sprites to detect how many objects are in a line, then moving all those objects in one batch.
However, I want to truncate the line if there's a gap ( the game is pushing lines of cakes around )
I can't seem to either check objects with matching x/y or overlay upon spawn ( which would make things really easy)
In the screenshot, the rat pushes Cake B, it should close the two tile gap, THEN push A, but upon creating the line with a For Loop, I can't exit/stop the loop or not create a line if no cake exists in collision area.