Have you had a block you want to delete? Or one you want to restore after deletion? Now you will find out how!

To access the full video please subscribe to FLLCasts.com
- #2020
- 01 Jul 2022
To delete a block, we have two options:
- With the Del button.
- By moving the block in the palette to the side.
To delete a block with the Del or Delete button, we need to click on it and press the button on the keyboard. This button will always work on the last block you clicked on.
To delete a block with a move, we need to grab it and move it back to the side in the palette, no matter where. Be careful! When we drag a block followed by other blocks, we also drag all the blocks below it and risk deleting a large part of our program.
Another way to delete a block in the middle of several blocks is to move it along with the blocks below it, then grab the blocks below it and return them to the original program. Now, we have isolated the block we want to delete, and we can move it to the side in the palette. We can also use this trick if we want to just move a block instead of deleting it, and it looks like this:
Sometimes, we delete a large part of our program without wanting to or move it and don't remember how it was originally. The tool that fixes such situations is Ctrl+Z, also called "Undo". If you need to undo something, click the Ctrl button and then Z. That undoes an action we did. Pressing it again returns a second action, and we can go on like this probably longer than we ever need to.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons

Level A1 - Space Adventure - Robotics with LEGO SPIKE Prime
This is the first level of the LEGO Robotics Curriculum for second, third, and fourth-grade students.
A "space adventure" but with robots. Different robot structures are built in Level A1. The motors are controlled so that the robots perform precise movements around the "Earth", "Moon" and "Sun". We use the force sensor to overcome various obstacles we bump into. We learn interesting facts about the solar system and space vehicles.
- 65
- 30:30
- 76

Lesson 2 - Tidal waves
Introduction
Today, we will focus on an interesting effect caused by the Moon: tidal waves.
You may know that massive bodies have an attractive force - gravity. The Moon's gravity pulls the water in the oceans, which causes the sea level along the ocean coasts to temporarily rise or fall. The increased level is called high tide, and the decreased level is called low tide.
How much, do you think, can the difference between high and low tide be in the world?
The distance between high tide and low tide sea levels can reach up to 16 meters in the Bay of Fundy in Canada, and the lowest differences are in the Mediterranean, Baltic, and Black Seas, where they are only a few centimeters. We will use 50 cm as an average value as it is convenient for the task.
- 10
- 5
- 12
- 3d_rotation 1