Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Report Distance Between Two Turtles

Tags:

netlogo

I have a model with two turtles, and the measurement of interest is the distance between them. I'd like to create a reporter that can be plotted that says simply that: the distance between the turtles. Can someone please help? I'm sure this is a simple thing, but I haven't been able to get it.

Thanks!

like image 349
Alex Vornsand Avatar asked Jul 07 '17 16:07

Alex Vornsand


1 Answers

Since Nicolas urges me to move this from comments to answers, you can retrieve the desired value with:

[distance turtle 1] of turtle 0
like image 76
Alan Avatar answered Nov 20 '22 02:11

Alan