Next To Condition


The Next To condition checks to see how many of the adjacent neighbors have a certain Depiction.

If the executing agent is next to the right number of the specified depictions, the condition is true. Otherwise, the condition is false.


comparator, formula, depiction


The Person agent in the Virus Attack project checks if it is next to one or more sick Person agents. If so, it has a 5% chance of acquiring the virus.

See the Virus Attack simulation.

| Next | Previous | Reference Manual | Getting Started Manual |