Turtle Command

myself

During a count-turtles-with command, myself reports the who number of the turtle which called it.

Example: count-turtles-with [(distance xcor-of myself ycor-of myself) < 5] counts all turtles within a radius of 5 units of the caller.

Related commands: