My Parent
Refers to the agent who created the agent that is calling the block.
my parent
is a code block part of the agents drawer.
Usage
my parent
refers to the agent that created the agent that is currently executing the code.
Syntax
parent
Example
This is a model of follow the leader. Each time that the new duckling button is pressed, the newest ducking (shown in pink) creates a new duckling agent. We observe that the ducklings travel in a line since each agent follows its parent.
Note: The original duckling of size two does not follow its parent (The World). If it did, it would simply continue to face toward center.