scratch-gui
scratch-gui copied to clipboard
My blocks "return" block
I have a small question about this extension, can we edit it so that a block can also return booleans. I know that a can use "Couplers" to transform a string into a boolean but in would be nice if the vm did it by itself. It (the vm) can tell if a "return" block is in the definition of a block definition to change the shape. Maybe the vm could transform the output block into a boolean if, for exemple, the content of every return block is true or false.