Shortcuts
Blocks has no shortcut list or help window of its own. This page collects the keyboard and mouse shortcuts of both modes. On a Mac, use Cmd instead of Ctrl. The table shows the exceptions.
While you type in a text box (for example Project or Password (min. 8)), shortcuts do not act on blocks.
Keyboard
| Key | Probot Blocks | FTC Blocks |
|---|---|---|
| Ctrl+C | Copies the selected block. Also writes its FTC version to the clipboard. | Copies the selected block. |
| Ctrl+X | Cuts the selected block. Also writes its FTC version to the clipboard. | Cuts the selected block. |
| Ctrl+V | Pastes. | Pastes. If the clipboard has a block copied from Probot mode, pastes it where the mouse pointer is. |
| Ctrl+Z | Undoes. | Undoes. |
| Ctrl+Shift+Z | Redoes. | Redoes. |
| Ctrl+Y | Redoes. It is Ctrl+Y on a Mac too. | Does not work. |
| Delete / Backspace | Deletes the selected block. Lifecycle blocks cannot be deleted. | Deletes the selected block. to runOpMode cannot be deleted. |
| Ctrl+Enter | Opens the right-click menu of the selected block. | |
| Esc | Closes an open menu or the block panel. | Closes an open menu or the block panel. |
| Esc | Closes the examples window, the intro card and the bug report form. | Same. |
Mouse
| Action | Probot Blocks | FTC Blocks |
|---|---|---|
| Press a category | The block panel opens. | The block panel opens. |
| Drag a block from the block panel | The block is added to the workspace, snaps to the grid and connects to a nearby block. | The block is added and connects to a nearby block. |
| Drag a block to the trash can or the block list | The block is deleted. | The block is deleted. |
| Drag an empty area | The workspace scrolls. | The workspace scrolls. |
| Mouse wheel | Scrolls up and down. | Zooms in and out. |
| Shift+mouse wheel | Scrolls sideways. | |
| Ctrl+mouse wheel | Zooms in and out (0.3x to 2x). | |
| Right-click | Context menu. | Context menu. |
| Hover over a block | A tooltip appears. | A tooltip appears. |
| Drag the panel handle | The side panel gets wider or narrower. Mouse only. | The side panel gets wider or narrower. Mouse and touch. |
On a touchscreen, dragging blocks and scrolling work, but the tool is made for a computer.