Bajar
Moves down by a specified number of steps.
Usage
Will move any agent downwards in the “z” direction by the number of steps specified.
Syntax
Inputs in this block:
- a number
Example
The down block is useful to take advantage of the 3D features of StarLogo. By adding the down block this becomes a more realistic model predator-prey interactions and fish movement. To enable random vertical movement and keep all fish above ground, fish who fall below the valid range of z values are automatically raised above ground in the final if statement.