Eliminar Agente

From StarLogo Nova Wiki
Revision as of 18:56, 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:
el bloque del agente de eliminación

delete agent [_] is a code block part of the agents drawer.

Uso

eliminar agente [_] se utiliza para eliminar un determinado agente de Spaceland.

Sintaxis

Delete Agent Nums Es.png

eliminar agente [Special: Agent Reference]

Example

Delete Agent example gif
Delete Agent example code

When a red block collides with a blue block, from the red block’s perspective the blue block is the collidee. Following a collision, the delete agent block allows for the red block to delete the blue block. This organization mirrors the physical behavior of how the predator eats the prey.

Related Blocks

Note: Using the me block inside delete agent will produce the same behavior as using the delete block, which makes any agent following the instructions delete itself.