Skip to content

move_to

Syntax

move_to(<place_name_source>, <place_name_target>)
move_to(<place_name_target>)

Parameters

<place_name_source>
Name of place for which the agent's site is being moved. If omitted, the acting agent itself will be moved.
<place_name_target>
Name of place the has the site that the former argument is being moved to.

Description

This action moves an agent's site at a place to the agent's site at another place. If there is only one argument, then the acting agent is moved to its site at the specified place name.

Examples

The following moves an agent's site at the place named Car to the acting agent's Household.

move_to(Car, Household)

The following moves the acting agent to Household.

move_to(Household)

See Also