Mi Padre

From StarLogo Nova Wiki
Revision as of 18:25, 11 August 2023 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:

my parent is a code block part of the agents drawer.

Usage

mi padre se refiere a agente que creó el agente que actualmente está ejecutando el código.

Sintaxis

padre

Example

My Parent example gif
My Parent example code

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.

Bloques relacionados

Recursos en video relevantes

Actividades relevantes