How do I create a timer on netlogo?

后端 未结 2 681
深忆病人
深忆病人 2021-01-26 12:29

For my maze project, I want to create a monitor button that keeps track of how long it takes for the turtle to get from start to finish. How would I code for the timer?

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-26 12:50

    Check out reset-timer and timer and in the docs. During maze setup, do a reset-timer. During the running of maze you can check on elapsed time with timer

提交回复
热议问题