DiGrande.it

Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

TurtleForward- Makes the turtle walk forward

Instruction that makes the turtle walk forward.

- TurtleForward(N)

Parameters:

- (float) N: Number of steps forward.

Description:

Use the TurtleForward instruction to make the turtle walk forward and consequently draw lines. The N parameter indicates how many steps forward the turtle will take to walk. N can be a negative number and in this case the turtle will walk backwards.