### turtles-on
<breeds>-on

#### turtles-on agent
turtles-on agentset
<breeds>-on agent
<breeds>-on agentset

Reports an agentset containing all the turtles that are on the given patch or patches, or standing on the same patch as the given turtle or turtles.

    ask turtles [
      if not any? turtles-on patch-ahead 1
        [ fd 1 ]
    ]
    ask turtles [
      if not any? turtles-on neighbors [
        die-of-loneliness
      ]
    ]

If the name of a breed is substituted for "turtles", then only turtles of that breed are included.

Take me to the full NetLogo Dictionary