Microsoft MakeCode

How do you create extensions?

I want to know how to create extensions! How do you make them?

You can start here to get some information on creating extensions in MakeCode:

can you make extensions in blocks?

I don’t think that’s currently possible.

But Functions are a good blocks-compatible way of declaring reusable and composable chunks of logic. Especially now that they support return values.

1 Like

Make the extension in the main program, test it, switch then to Javascript and copy the Functions for your extensions to the wanted place.

@darzu maybe we could do some example videos on how to take block programs and turn them into extensions. Might make a good Friday stream?

1 Like

Thank you all!

@purna079 do you have an idea for an extension that you would like to make?

Maybe a traffic extension? like every 500 milliseconds change a light to green or somthing?