| TURTLESIZE | |
| Syntax | TURTLESIZE TSIZE |
| Explanation |
TURTLESIZE reports a number, the size of the current turtle. A turtle's size can be in the range of 0 to 50. To set the turtle's size, use SETTURTLESIZE. |
| Examples | TELL [0 1 2] EACH [SETTURTLESIZE WHO + 1] TURTLESIZE Result: 1 ASK 1 [TURTLESIZE] Result: 2 ASK 2 [TSIZE] Result: 3
To increase the size of a turtle based on its current size, you could use an instruction such as: SETTURTLESIZE 2 |