Delete Agent/es: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 16: | Line 16: | ||
[[File:Delete Agent Nums Es.png|right]] | [[File:Delete Agent Nums Es.png|right]] | ||
<code>eliminar agente [Special: Agent Reference]</code> | <code>eliminar agente [Special: Agent Reference]</code> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
==Example== | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
[[File:delete_agent_example.gif|alt=Delete Agent example gif|thumb]] | |||
[[File:delete_agent_example.png|alt=Delete Agent example code|thumb]] | |||
</div> | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | |||
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. | |||
</div> | |||
==Related Blocks== | ==Related Blocks== | ||
*<code>[[Special:MyLanguage/Delete|eliminar]]</code> | *<code>[[Special:MyLanguage/Delete|eliminar]]</code> | ||
*<code>[[Special:MyLanguage/Delete Everyone|eliminar todos]]</code> | *<code>[[Special:MyLanguage/Delete Everyone|eliminar todos]]</code> | ||
<strong>Note:</strong> 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. |
Latest revision as of 18:56, 11 August 2023
delete agent [_]
is a code block part of the agents drawer.
Uso
eliminar agente [_]
se utiliza para eliminar un determinado agente de Spaceland.
Sintaxis
eliminar agente [Special: Agent Reference]
Example
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.