Programatically load typescript/blocks code into editor

Hi there

I’m trying to programmatically replace the code in the current editor view with a pre-defined snippet for a tutorial-extension, depending on user actions (think: “give me a small hint”, “give me a big hint”, “solve it for me please”).

What is the intended way to go about this issue?

mfg Tobias

Are you using the MakeCode tutorial tool for this? If so, we’re bringing the Arcade tutorial clues to micro:bit in a few weeks. You can access them in beta now.

1 Like