Scratch code writing
1、Join
- Hold down the left mouse button to select the code block
- Drag the code block to the editing area
2、Combination
- Drag the code block you want to combine to the position you want to combine
- After the gray connection diagram appears, put down the code block.
3、Delete
method one:
- Hold down the left mouse button and select the code block you want to delete.
- Drag the code block to the script (code) area
Method Two:
- Right click on the code you want to delete
- Left click on "Delete Code Block"
4、Multiple sets of code relationships
Multi-threaded relationship: the relationship of executing multiple programs at the same time