If you want the keyboard to make your agent do something, such as move in a direction or fire a paintball when you hit the space bar, you will need to used keyboard controls.
You can use any keyboard buttons, including the space bar. If you have 2 agents that you want to control separately, for instance in a competition, you must use different keyboard buttons for each of the agents.
In the game of paintball, attached here, you will see that the turtle's movement is controlled using the up, down, right and left arrows, but the other agents (the sharks) move on their own. When you start a Starlogo TNG model, you will need to see the code to know which buttons, if any, are used.
Submitted by paige on 28. December 2007 - 17:03