Game Development Reference
Start with when <let arrow> key pressed . Move to the right via Move
Horizontally <-1> .
To write the code for the verical movement, we will also create a custom block.
The steps to write the code for verical movement are as follows:
Create a custom block named Move Verically .
Right-click on the body of the Move Horizontally block and select duplicate .