Navigation Bar AgentSheets Education R&D Support About Us Manuals Tutorial Movies FAQ Books Classes

Change Action

Definition: The Change action changes the depiction of the agent in the cell indicated by the Direction parameter to the depiction displayed in the command's Depiction parameter. The dot (.) refers to the agent itself.

The Change action is useful for creating animations.

Parameters: direction, depiction
Example: In the Fish Tank simulation, whenever the Fish agent faces forward, there is a 10% chance that it will change to look like the fish going to the left and an 11% chance that it will change to look like the fish going to right.


reference manual | ©2010 AgentSheets, Inc. | contact us