Microsoft MakeCode

Recreate the while block

Is there a way I can make my own while block?
I want my extension to have a while
Block that behaves exactly like the default while block in loops. If there is a way to take the already existing while block and change its name and shadow that also would be great.
Example:
image

2 Likes