Libraries‎ > ‎Library‎ > ‎Control‎ > ‎

Remove all behaviours

BehaviourComposer: ignore everything before this.
Begin micro-behaviour:
Begin description:
Remove all behaviours from this agent.
End description

Remove all behaviours

Begin NetLogo code:
End NetLogo code

How this works

This removes all behaviours from an agent using the Behaviour Composer NetLogo command remove-all-behaviours. Note that this will not stop the current behaviour from running. In particular it can add new behaviours after removing the current ones.

Related micro-behaviours


Remove all behaviours was first implemented by Ken Kahn on 4 February 2010.

BehaviourComposer: ignore everything after this.