Extension block creation .defl not working correctly?

I’m trying to create this block, but the .defl block description thingy isn’t working correctly. Is this a Makecode bug or am I doing something wrong?
If you look at the descriptions (code is in tilemapGen.ts), I have “//%width.defl=16” and “//%height.defl=15” but it seems to be skipping width (and making it take only variables as input), setting the height field to 16, and then setting the data field (press the “+”) to 15. I’ve tried doing this without the “tile list” input and it still skips one and defines the rest wrong.
The actual function isn’t done yet, so don’t worry about functionality, I’m just trying to get the block to look correct! :sob:

@WoofWoof instead of using %parameter, use $parameter inside block definition strings

//% block="generate tilemap using tiles $tilelist with width $width height $height || and data list $data"
1 Like