Key Control icon Key Control — Assign scripts to any keyboard key (press/release), map arrow keys to movement controls; activates when the control has focus (green). Try it →
 

Right

Movement.right([speed], [timeOut])

Parameters

speed (optional) Speed to move at.
timeOut (optional) Duration to move right for in milliseconds.

Returns

Nothing

Description

Moves the robot right using the project's Movement Panel skill. The speed can be specified by providing speed as a value between 0 and 255. If timeOut is provided the robot will move right for timeOut milliseconds. Otherwise it will continue to move right until a different Movement function is called.