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

Remove all behaviours from

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

Remove all behaviours from

Begin NetLogo code:
substitute-text-area-for agent-or-agents selfremove-all-behaviours-from agent-or-agents
End NetLogo code

How this works

This removes all behaviours from agent-or-agents using the Behaviour Composer NetLogo command remove-all-behaviours-from.

Related micro-behaviours

History

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

BehaviourComposer: ignore everything after this.