Get radius of a turtle
radius
Returns radius of a turtle. Radius is used in collisions with the graphics window edges and collisions with
other turtles.
Example:
bounce
rt 30
repeat 10 [
setr radius + 10
print radius
setpc 100 * repcount
fd 4000
]
Output:
20
30
40
50
60
70
80
90
100
110
See also:
Table of Content