How to make an "if" statement

Hey guys, so I am trying to make it so that when the player collects, say, 10 keys, then a door appears which can lead to the next level. Or, if I could make a certain block disappear once he collects 10 keys, that would work too

Use a filter for that:

  • Store the key count in a Number that you increment when collecting a key
  • Send the output of that number to a Filter, set to e.g. “greater than 9”
  • Connect the “pass” output of that filter to next level, or to send a message to a block you want to disappear

awesome. thanks for the tip