NetLogo - 如何显示乌龟的当前坐标

aHa*_*HaH 4 netlogo

我已经尝试了很长一段时间来显示NetLogo中乌龟的当前坐标.我知道要显示其中一个坐标,我可以使用:

show [xcor] of turtle 0
Run Code Online (Sandbox Code Playgroud)

要么

show [ycor] of turtle 0
Run Code Online (Sandbox Code Playgroud)

但是如何显示两个坐标呢?

谢谢.

Nic*_*tte 9

你可以show [list xcor ycor] of turtle 0.

或者,发烧友:show [(word "(" xcor ", " ycor ")")] of turtle 0.