How to generate code with clicking a block ?


#1

I know the way of generating code with Blockly , but how to generate code with Scratch3.0 ?


#2

the same way :slight_smile:


#3

Thank you !but these commands are a little difficult for me , can you make it clear ?I really want to know it.


#4

hi @ericanst, just try to treat scratch-blocks as blockly-blocks,the only difference between them is the UI.

You need to know how to rebuild scratch-blocks(read their document), and then, treat it as blockly-blocks.