Libraries‎ > ‎Library‎ > ‎Movement‎ > ‎

Move to

BehaviourComposer: ignore everything before this.

Begin micro-behaviour:

Begin description:

Move to another agent or patch.

End description

Move to

Begin NetLogo code:

substitute-text-area-for agent-or-patch patch 0 0
move-to agent-or-patch

End NetLogo code

Variants

Edit the text area to specify the agent or patch to move to.

How this works

It uses the NetLogo move-to primitive.

Related micro-behaviours

There are many movement behaviours in the main library.

History

Move to was first implemented by Ken Kahn on 26 January 2012.

BehaviourComposer: ignore everything after this.

Comments