Me
Refers to the agent executing the code.
me
is a code block part of the agents drawer.
Usage
me
is used to refer to the agent executing the code. This block is often used as a socket in other blocks, such as delete agent [_]
.
Syntax
(in reference to itself) me
Example
This is a model of a salt precipitating out of a solution. When the ‘K’ agent collides with the ‘Cl’ agent, both agents are deleted and a new ‘Salt’ agent is created.
Nuances
Related Blocks
Note: Using the me block inside the delete agent block produces the same behavior as using a delete block.