Turtle and Observer Command

max-of-patches variable

Evaluates the variable given for every patch. Returns the coordinates of the patch whose variable value is greatest, or returns a list of coordinates if there is more than one patch with that minimum value."

Examples:

Related commands: