my-<breeds> my-links

my-<breeds> my-links Turtle Command

Reports an agentset of all links connected to the caller, regardless of directedness.

crt 5
ask turtle 0
[
  create-links-with other turtles
  show my-links ;; prints the agentset containing all links
                ;; (since all the links we created were with turtle 0 )
]
ask turtle 1
[
  show my-links ;; shows an agentset containing the link 0 1
]
end

Take me to the full NetLogo Dictionary