Advertisement

Syntax

FORWARD number

FD number

Explanation

FORWARD moves the turtle forward the distance specified by its input. See also [[B

Pc logo 20.png
This is a FORWARD command example. It executes the "FORWARD 30" command.

? FORWARD 30

The turtle moves forward 30 steps.












? DRAW FORWARD -30

Pc logo 21.png
This is a FORWARD command example. Its executes the "DRAW FORWARD -30" command.

The turtle moves backwards 30 steps.

Community content is available under CC-BY-SA unless otherwise noted.