Physics2D extension

I’m working on an extension, and I’m wondering what //%blockID is and what does it do. (@richard I’m mostly asking you but anyone else who knows too)

Also @richard how can I create a block like the Menu item in your Mini Menu Extension?

blockId is used internally by makecode. every block needs to have a unique block id
as for the second question, can you be more specific? what feature are you looking to copy?

well then why does every block have to have a block id like every one of my extensions i dont think i put //%blockId on them

1 Like

I essentially want to have an array of “slope tiles”

I want to make each “slope” a block like this:
image
But make it have a tile select, number input, and number input. How can I make it becomes a block if my code looks like this:

1 Like