BehaviourComposer: ignore everything before this.
Turn a specified number of degrees to change my heading.
TurnBegin NetLogo code:
substitute-text-area-for rotation-angle 10 turn-right rotation-angleEnd NetLogo code
You can change the contents of the text area to another number or the value of a parameter (see Parameter). Using a negative value will turn left instead. For example, if you want to turn a random amount left or right up to 10 degrees you can use
random-number-between -10 10
You can enhance this behaviour to occur repeatedly by clicking on the 'Enhance' menu item.
This uses turn-right, a Behaviour Composer NetLogo command.
Turn was implemented by Ken Kahn.
BehaviourComposer: ignore everything after this.