label-color

label-color Turtle Command Link Command

This is a built-in turtle or link variable. It holds a number greater than or equal to 0 and less than 140. This number determines what color the turtle or link's label appears in (if it has a label). You can set this variable to change the color of a turtle or link's label.

See also label, plabel, plabel-color.

Example:

ask turtles [ set label-color red ]
;; all the turtles now have red labels

Take me to the full NetLogo Dictionary