NetLogo Help: towards

### towards1.0

#### towards agent

Reports the heading from this agent to the given agent.

If wrapping is allowed by the topology and the wrapped distance (around the edges of the world) is shorter, towards will use the wrapped path.

Note: asking for the heading from an agent to itself, or an agent on the same location, will cause a runtime error.

    set heading towards turtle 1
    ;; same as "face turtle 1"

See also face.

Take me to the full NetLogo Dictionary