Click the Motion category. Drag out a point towards block and snap it on top. Choose “Net” from the pull-down menu.
Then drag out a move block.
Click the Control category. Drag out a repeat block and wrap it around the move block:
The script should look like this:
You can type in numbers to adjust the values.