Microsoft MakeCode

How do I get a number prompt?

There’s a block that allows you to ask for a string, which can contain numbers or letters. I’ve seen other people use a block like this, but you can only input numbers. I’m wondering how, since I can’t seem to find the block in any of the sections. Which section is the block in?(Is it exclusive to the Javascript version? It probably isn’t but i just can’t seem to find it)

I just merged that feature here: https://github.com/microsoft/pxt-common-packages/pull/730

It will show up in the next arcade release!

1 Like

The team has updated beta with this change.