FANDOM


Syntax

WIDTH

Explanation

WIDTH outputs the pen width of the first active turtle. The pen width can be a number between 1 and 999. SETWIDTH sets the pen width.

If more than one turtle is active, the pen width of these turtles may be interrogated with WIDTH and the ASK or EACH commands.

Example

? DRAW

? WIDTH

Result: 1

? TELL [0 1 2 3 4]

? SETWIDTH 5

? EACH [PRINT WIDTH]

5

5

5

5

5

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.