File Manager— Displays files currently open for reading by scripts, shows only read-opened files, helps diagnose read/write locks and file access errors.Try it →
Setspeed
Movement.setSpeed(speed/speedLeft, [speedRight])
Parameters
speed/speedLeft
Global Movement Speed value for left and right wheel. If speedRight is provided this value will be used for the global Movement Speed value of the left wheel only.
speedRight (optional)
Global movement speed value for the right wheel.
Returns
Nothing
Description
Sets the global movement speed value for the left and right wheels. If speedLeft and speedRight are provided the values for the left and right wheels will be set respectively.
Example
// Set both left and right speeds to 127 (half speed)
Movement.setSpeed(127);
// Set the left speed to 100 and right speed to 200 (slightly turn left)
Movement.setSpeed(100, 200);