forward

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

Parameters

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

Returns

Nothing

Description

Moves the robot forward 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 forward for timeOut milliseconds. Otherwise it will continue to move forward until a different Movement function is called.