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

Remove behaviours from

BehaviourComposer: ignore everything before this.
Warning: this currently does not work in NetLogo Web. See this for technical details. 
Begin micro-behaviour:
Begin description:
Remove behaviours from a specified agent or set of agents.
End description

Remove behaviours from

Begin NetLogo code:
substitute-text-area-for target self                                                        
    list-of-micro-behaviours "Behaviours to Remove" []
End NetLogo code


You can add micro-behaviours to the list of micro-behaviours to remove. You can change the agent whose behaviours will be removed.

How this works

This uses the Behaviour Composer NetLogo command remove-behaviours-from to remove the specified behaviours from an agent.

Related micro-behaviours


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

BehaviourComposer: ignore everything after this.