Closed qxsck closed 1 year ago
you can't run a block using an ioQuery. just copy and paste the code of getKeyPressed, it's not long
https://github.com/TurboWarp/scratch-vm/blob/develop/src/blocks/scratch3_sensing.js#L260
Oh, misunderstood I think. ioQuery is just a slightly less ugly way to run functions from runtime.ioDevices
...even though, at least in my opinion, it is uglier
What is the 'util.ioQuery' of the 'getKeyPressed' function in 'scratch3_sensing.js'?