I wanted to see how long agents I am removing from a Delay block named delayX has waited, so I called delayX.getElapsedTime(agent)
in the “on removal” code section of delayX. However, this function always returned 0, even for agents that I knew had waited for some time in the block. Can anyone give any pointers on where I went wrong?