A trigger that activates once all of an object is gone

Hi! In my first game using flowlab, I wanted to make it so that my character collects coins as it progresses through the game. Once the character collects all the coins in a level, they should move onto the next level or beat the game, but there is one problem. I don’t know what trigger to use so that once every coin is gone, the above actions activate. If you have any suggestions I would love to hear them. Thanks!
Screenshot (10)
Link to Game:

So one way you can make the game end or go to the next level by using coins, is to use a filter and a coin counter.

So what you can do is:

  1. Use the number to count how many coins the player has.
  2. Attach a filter, and set a specific number of coins needed to progress.
  3. In the filter change the programming to “when equal to”.
  4. And at the “pass” out-put connect it to the next level or to the game end.

If you need any help then feel free to message me again. :slight_smile:


It works! Thank you so much!


No problem, I’m happy to help whenever. :slight_smile: