Eliminar Todos

From StarLogo Nova Wiki
This page is a translated version of the page Delete Everyone and the translation is 67% complete.
Other languages:
Eliminar Todos Bloques

eliminar todos is a code block part of the agentes drawer.

delete everyone is a code block part of the agents drawer.

Uso

eliminar todos is used to delete all agentes from Spaceland.

Sintaxis

(in reference to every agent)Eliminar a todos

Example

Delete Everyone example gif
Delete Everyone example code

Each time that setup is pressed, The World deletes all other agents. This ensures that each time a new set of agents is created, the population does not continue to increase. Using the delete everyone block enables the ‘setup’ button replicate the behavior of a project loaded for the first time.

Para tener en cuenta

Code may be placed after this block as this block can be used to delete all agents under the world tab.

Bloques relacionados