Erase Action

Definition:

The Erase action erases the agent located in the cell indicated by the Direction parameter. Executing the Erase action is the same as applying the Eraser tool.

Parameters:

direction

Example:

The Car agent in the Bridge Builder simulation erases itself if it sees a tunnel to its right, so it will look like it is going into the tunnel.

See the Bridge Builder simulation.


| Next | Previous | Reference Manual | Getting Started Manual |