Runs when an agent is clicked in the
agents — list[Agent]
The live agent(s) that were clicked on, possibly multiple if there are overlapping agents in the current map. Note that, if clicking on a historical map state (i.e. having scrubbed the time bar backward), the clicked agent may be dead, in which case None will be passed instead of an agent object.
plot — NetworkPlot
NetworkPlotobject that was clicked on.
t — int
The time currently displayed on the time slider. This may not match the current model time if the time slider has been scrubbed backward.