FANDOM


Syntax

SHAPE

(SHAPE number)

Explanation

SHAPE outputs the first defined shape for the first active turtle in the form of a list of 32 elements in the range 0 to 255. Since a turtle shape is composed of four different shapes, each representing a HEADING range of 22.5 degrees, a number in the range of 1 to 4 can be used as an optional input. The SHAPE of the turtle(s) can be changed with the SETSHAPE command.

Example

? DRAW

? SHAPE

Result: [1 0 2 128 6 192 6 192 20 80 43 168 20 80 8 32 8 32 8 32 8 32 20 80 43 168 17 16 0 128 0 0]

?

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.