You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: configuration/blockly/rules-blockly-before-using.md
+35-32Lines changed: 35 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,52 +87,63 @@ See the following video on 
87
87
88
88
More about the topic of code generation can be viewed at [Blockly as an ECMA-Script code generator](https://youtu.be/EdllUlJ7p6k?t=1739)
89
89
90
-
### Block context menu
90
+
### Panning and Zooming
91
91
92
-
It should also be mentioned that each of the blocks do have a context sensitive menu which appears upon a right click on the block itself.
92
+
You can move around Blockly's workspace by clicking and dragging on the empty space, or by using two fingers on a touch screen or a trackpad.
Sometimes you may want to copy some blocks from one rule to another.
99
-
This is what _Cross-Rule-Copy/Paste_ is for.
100
-
Just mark the block(s) you want to copy, click on _Cross-Rule-Copy_ and then in the destination rule open the context menu and click on _Cross-Rule-Paste_.
Right-clicking on an empty area in the workspace will pop up a slightly different context menu.
109
+
In particular, `Clean up Blocks` will automatically move and arrange your blocks neatly.
107
110
108
-
A way to copy multiple blocks at once is to copy a parent block, e.g. a loop block, that contains all the blocks you want to copy together.
109
-
If you want to copy a number of connected blocks at once that do not have a parent block, there is nice trick to do that anyway: drag a function block into the workspace of the source rule, add the blocks to be copied into that function block, copy that function block and then paste it in the destination rule.
110
-
Then in the destination rule just remove the function block that helped you to copy the inner blocks.
111
+
### Selecting Blocks
111
112
112
-
:::
113
+
Click on a block to select it.
113
114
114
-
Copy and Paste in Action:
115
+
You can select multiple blocks by holding the <kbd>Shift</kbd> key while clicking on other blocks.
116
+
Alternatively, hold down the <kbd>Shift</kbd> key, click on an empty area and start dragging to select the blocks within the selection rectangle.
0 commit comments