MakeCode Tutorial Editor: Help with showing all coding blocks from the start

Hello All,

I’m creating a tutorial, and I want to use the hint blocks, but I want the hit blocks to show for that level, not the entire lesson. Is there a way to make it so on certain steps you have all the coding blocks and on others only certain ones?

Also can you including short videos instead of just image and gifs?

First part: Not so sure.

Second part: I recall being able to put youtube videos in tutorials as one about a carnival had one. So yes… Probably.

Take a look at this one for reference. Feel free to copy-and-paste the code into the tutorial tool.

https://raw.githubusercontent.com/Microsoft/pxt-microbit/refs/heads/master/docs/projects/flashing-heart.md

Specifically, look at Step 2:

## {Step 2}

Drag another ``||basic:show leds||`` block underneath the first.

```blocks
basic.forever(function() {
    basic.showLeds(`
        . # . # .
        # # # # #
        # # # # #
        . # # # .
        . . # . .`);
    basic.showLeds(`
        . . . . .
        . . . . .
        . . . . .
        . . . . .
        . . . . .`);
})
```

This group of blocks will only appear in the hint in step 2. It will not appear elsewhere.

If I’m misinterpreting your question, then feel free to provide an example of what you’re trying to do. (A link to your current tutorial would be helpful in that case.)

As for videos, you can embed YouTube videos as demonstrated in the first tutorial from Whack the Mole.

## Whack-the-Mole Intro @showdialog

![whack-the-mole](youtube:UKYPIXl7agI)

---

Special thanks to MakeCode forum User _SoftTalker_ for this submission.

Otherwise, you could include a URL to the video.

(post deleted by author)

I do not believe that is possible. You can configure a tutorial to show just the blocks used in the tutorial, or it can show the entire toolbox. You cannot show different “versions” of the toolbox in each step.

Okay that makes sense. I had thought you could change or as the student goes through more levels the toolbox opens up more before somewhere.