Or you could edit code step by step in the editing area.
(1)Enter“Basic” →“show icon ♥ ”
Place it into“on start”and click the triangle button to select“ ” pattern。
(2)Click“ MecanumRobot”to find and drag to“on start”
and change the angle 0 to 90:
(1) Click“Variables” and then click“Make a Variable...”, the dialog box
“New variable name:”pops up; fill it with “distance”;
Click“OK”to establish variable“distance”;
Drag“set distance to 0” to “forever”;
Click“ MecanumRobot”to find and drag to the “0” of“set
distance to 0”: