I’ve made a couple extensions before, some usable, some almost useless, and some really interesting and great! Here are some I made before this:
YamJam-dev/pxt-background-extension
YamJam-dev/simple-maths-extension (I think that’s the link)
And here’s my newest one, which allows you to create “height layers”, to add depth to your tilemaps! It’s not like regular depth extensions where you have to blindly create your map with just code, trial, and error, but instead simply applying layers to tiles using arrays!
(I made this draft a long time ago but the extension was finished later due to me finding some bugs, overcomplicating the code, and finding out they didn’t work because I didn’t update a sprite’s position)
Super cool extension! For the Run Layer Detection blocks, maybe you can make one block that uses an array that expands the block so we can set as many layers as possible if this is possible.