How do i make walls appear at a specific type of tile?

I am making a game where when you press B, platforms toggle on and off. But the problem is, I don’t know how to make a wall at those tiles that appear when B is pressed. Please help!!!

Game: plat matt (makecode.com)

1 Like

HI @CoolSwords4 !

We added a new function that will set the walls for all the big solid tiles, and unset walls for the small tiles. We called the function in two places –

  1. When the level is being set up
  2. When the B button is being pressed.

YOUR CLOUD BACKGROUND IS SUPER COOL! also A+ title we love rhyming.

hope this helps :smiley:

4 Likes

Oh my gosh thank you SO MUCH! I really appreciate the clear help and the kind words!

1 Like