# Extension breaks usage of block coding

**URL:** <https://forum.makecode.com/t/extension-breaks-usage-of-block-coding/43688>\
**Category:** Help\
**Tags:** extension\
**Created:** [April 27, 2026, 5:22pm UTC](https://forum.makecode.com/t/extension-breaks-usage-of-block-coding/43688 "2026-04-27T17:22:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chemthunder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chemthunder/32/29906_2.png) [@Chemthunder](https://forum.makecode.com/u/Chemthunder)\
**Post date:** [April 27, 2026, 5:22pm UTC](https://forum.makecode.com/t/extension-breaks-usage-of-block-coding/43688/1 "2026-04-27T17:22:58Z")

</div>

Hi!

I realized recently that this issue I’ve been experiencing isn’t just limited to my device, as I recently showed off an early version of my extension. I’ve been working on this extension for a few months now, and I have (from the beginning) had the extension use MakeCode’s extension definitions so that everything needed could be in the toolbar.

However, even though I’ve it all up correctly (to my knowledge, using the extension system is a mess for me…), upon opening the extension in Blocks instead of JavaScript (I normally only use JavaScript, hence how this flew under my radar for a while), other toolbar categories will break and not show their blocks. Along with this, the category for my extension is also empty.

If anyone could help me fix this issue, it would be greatly appreciated!

Source code:

> **[GitHub - Chemthunder/yggdrasil-remake: a new coat of paint](https://github.com/Chemthunder/yggdrasil-remake)**
>
> a new coat of paint

Issues in action:

 ![Screenshot 2026-04-27 12.44.55 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/b/2/b2bf971de85fc56c53ad6784b51b16c8b53fb9cc.png)

(None of the blocks are appearing)

 ![Screenshot 2026-04-27 12.45.13 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/1/c164bf491662390581707c9224e981da5410e979.png)

(Other categories will not open, though this may be a me thing.

---

<div class="post-metadata">

**Author:** ![NeverStopTheCoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/neverstopthecoder/32/21194_2.png) [@NeverStopTheCoder](https://forum.makecode.com/u/NeverStopTheCoder)\
**Post date:** [April 27, 2026, 10:07pm UTC](https://forum.makecode.com/t/extension-breaks-usage-of-block-coding/43688/2 "2026-04-27T22:07:53Z")

</div>

for me try restarting the page or check if there are typos because i sometimes see it when i spell something wrong or its not a command

---

<div class="post-metadata">

**Author:** ![ThatCoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thatcoder/32/29388_2.png) [@ThatCoder](https://forum.makecode.com/u/ThatCoder)\
**Post date:** [April 27, 2026, 10:17pm UTC](https://forum.makecode.com/t/extension-breaks-usage-of-block-coding/43688/3 "2026-04-27T22:17:50Z")

</div>

> (Other categories will not open, though this may be a me thing)

That’s a you thing, works just fine for me

---

<div class="post-metadata">

**Author:** ![Iro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/iro/32/34749_2.png) [@Iro](https://forum.makecode.com/u/Iro)\
**Post date:** [April 27, 2026, 10:18pm UTC](https://forum.makecode.com/t/extension-breaks-usage-of-block-coding/43688/4 "2026-04-27T22:18:06Z")

</div>

I was having the same problem a while ago (e.g. the toolbox(s) were not opening), I don’t know if this helps, but I just waited, and the next day it was fine XD.

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [April 27, 2026, 10:20pm UTC](https://forum.makecode.com/t/extension-breaks-usage-of-block-coding/43688/5 "2026-04-27T22:20:00Z")

</div>

Ok, I’m looking through to find issues.

 ![Screenshot 2026-04-27 at 5.32.33 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/4/c40dd45d01627ebf305cdbef949dbac87ee44d47.png)  
 ![Screenshot 2026-04-27 at 5.34.30 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/6/3/6389e6185c2563b1d06cf320facdedeca7aa209a.png)  
Idk what this issue is (yet), but whatever it is it’s _really_ funny to see what happens to MakeCode when you break the block definitions!

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [April 28, 2026, 12:48am UTC](https://forum.makecode.com/t/extension-breaks-usage-of-block-coding/43688/6 "2026-04-28T00:48:02Z")

</div>

> **[Yggdrasil fixed](https://arcade.makecode.com/S88472-16514-94078-21733)**
>
> A fixed version of the Yggdrasil-remake extension

The .defl tag cannot be used to define the name of the variable that gets created in that spot, unless you put a .shadow=variable\_get for that variable as well, or you define it like `block="do thing with $number=variables_get(myNumber)"`, which is what I usually do. Correcting all those results in this:

 ![Screenshot 2026-04-27 at 6.48.12 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/f/f/ffeff0b7cf85bbc386f6f4f21286fdb9adc2ec57.png)  
Which looks pretty good to me!

There is that random blank bubble in the For Each block, which can be removed by deleting this bit:

 ![Screenshot 2026-04-27 at 6.52.19 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/a/c/ac6b26580a6df878d50317d6ca79ada0c00f272d.png)  
The function part still works without the s variable being included in the block definition. I also removed that same issue in other blocks.

You can turn the Add System Menu Entry block image selector into an actual image…

 ![Screenshot 2026-04-27 at 6.58.24 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/a/c/ac233698c1b0583943dcbcdb3da54dc27eae5feb.png)  
By adding `icon.shadow=screen_image_picker` to the block definition. I also did this to the Edit UI block.

Lastly, there is another special shadow tag for the color selector, `colorindexpicker`, which I have added to the Edit UI block variables.

---

<div class="post-metadata">

**Author:** ![NeverStopTheCoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/neverstopthecoder/32/21194_2.png) [@NeverStopTheCoder](https://forum.makecode.com/u/NeverStopTheCoder)\
**Post date:** [April 28, 2026, 6:28pm UTC](https://forum.makecode.com/t/extension-breaks-usage-of-block-coding/43688/7 "2026-04-28T18:28:35Z")

</div>

thats what happen to me it had something to do with the defl

---

<div class="post-metadata">

**Author:** ![Chemthunder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chemthunder/32/29906_2.png) [@Chemthunder](https://forum.makecode.com/u/Chemthunder)\
**Post date:** [April 28, 2026, 9:17pm UTC](https://forum.makecode.com/t/extension-breaks-usage-of-block-coding/43688/8 "2026-04-28T21:17:25Z")

</div>

Thank you so much!
