Scratch (Word Blocks) program to accurately move forward with LEGO Education SPIKE Prime

In this program we demonstrate how to use the built-in motion sensor of the SPIKE brick to program the robot to move forward. We implemented a type of duck walking forward movement. To get a more smooth movement, you can try lowering the turn angles from 95.

This program was intended for and tested on the Gazon robot

How to open?

Programs with extension *.llsp could be opened with version 2 of the LEGO Scratch Word Blocks software. It is also known as 'SPIKE Legacy'. You can download it from LEGO website. You can also visit to use it online Note that this programs are incompatible with version 3 of the software.

  • #2wnhe6
  • 10 Aug 2022

Courses and lessons with this Program

This Program is used in the following courses and lessons

Image for LEGO Education SPIKE Prime Programming for competition with Word Blocks
  • 40
  • 188:21
  • 19
Image for Motion sensor - move forward
  • 1
  • 0
  • 1
  • 3d_rotation 1