GKBehavior
A set of goals that together influence the movement of an agent.
Declaration
class GKBehaviorOverview
By combining multiple goals (GKGoal objects) you can create complex behavior, such as groups of agents (GKAgent objects) that move together naturally. To assign a set of goals to an agent, use its behavior property.
To learn more about using goals and agents, see Agents, Goals, and Behaviors in GameplayKit Programming Guide.