NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

ants.Ant.goal()

Syntax

ant.goal[obj]

Description

Sets the object obj, which has x and y properties, as goal. The ant starts moving towards it. This low-level ant command allows you to modify the ant's behaviour by defining custom goals.