Changes the probability that the code on the hook will be executed.
Syntax
Inputs in this block:
- a number
Example
The model above shows a contagious disease. On contact with a ‘sneeze’ agent, healthy agents have a 40% of contracting the disease (becoming red).