in-<breed>-from
in-link-from

in-<breed>-from turtle
in-link-from turtle
Turtle Command

Report the directed link from turtle to the caller. If no link exists then it reports nobody.

crt 2
ask turtle 0 [ create-link-to turtle 1 ]
ask turtle 1 [ show in-link-from turtle 0 ] ;; shows link 0 1
ask turtle 0 [ show in-link-from turtle 1 ] ;; shows nobody

See also: out-link-to link-with

Take me to the full NetLogo Dictionary