setSize changes the size of the turtle.
setSize 5
Pencil Code has a similar function called grow, but grow
is relative, and setSize
is absolute:
setSize 5
means "change your size to be 5 times the standard turtle size"
grow 5
means "change your size to be 5 times your current size"
Notice the difference between doing grow
twice:
grow 5 grow 5
and doing setSize
twice:
setSize 5 setSize 5