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

Direction Parameter

Definition: The Direction parameter specifies a direction. The Direction parameter values correspond to the Moore/8-cell neighborhood model. The dot (.) refers to the agent itself.

Click on the operator in its collapsed state to extend it. Then choose a direction by highlighting the preferred direction. A collapsed (left) and extended (right) Direction pop-up menu is shown below:

If the Direction parameter is used in a Condition, it will specify which neighboring cell of an agent (or itself, if the dot is selected) should be tested when executing a condition check.

If the Direction parameter is used in an Action, it will specify which neighboring cell of an agent (or itself, if the dot is selected) the action will be performed on.


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