• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

SOLVED How to make other objects above an specific one have their events triggered?

Lens

Member
Good morning/afternoon/evening! I'm making a tile-matching game and need pieces to fall once a said line gets completed (removed).
Thus, I tried making a
if object.y < self.y
with(object) triggeringvariable = true;

once it turns true, the object gets their ".y += 30". The problem is, instead of only the objects with higher position to move down (gaining y), all objects move down; even the ones beneath the specific one.
How can I make it so that just the ones above go down?
 
Top