Alex Vornsand
Alex Vornsand

Reputation: 83

Report Distance Between Two Turtles

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!

Upvotes: 7

Views: 3974

Answers (1)

Alan
Alan

Reputation: 9610

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

[distance turtle 1] of turtle 0

Upvotes: 9

Related Questions