link-length4.0

link-length Link Command

Reports the distance between the endpoints of the link.

ask link 0 1 [ print link-length ]
;; prints [[distance other-end] of end1] of link 0 1

See also link-heading

Take me to the full NetLogo Dictionary