As an extension author, is there a way to change the simulator image to V2 when the extension loads or when an extension block is used?
From the MakeCode and micro:bit teams (thanks Mark):
We switch to v2 sim based off the v2 exclusive parts; e.g. this parts attribute on a microphone block: https://github.com/microsoft/pxt-microbit/blob/master/libs/microphone/microphone.cpp#L78
Here’s where they are defined:
https://github.com/microsoft/pxt-microbit/blob/master/sim/dalboard.ts#L138
so //% parts=”v2”
should be fine
Ahh, sorry for the delay since I missed this thread but glad my response got routed back to you!