Reference 〉 Hook

patchClick(patchPatch, plotAgentsPlot, tint)

Receives the patch clicked when the AgentsPlot plot is clicked in spatial layout.

Required Parameters

  • patch Patch

    The patch that was clicked.

  • plot AgentsPlot

    The AgentsPlot object 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.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.

History