Function

agent

(opt?: AgentCompOpt): AgentComp

An agent which can find its way on a tilemap.

param opt - Options for the agent component. See AgentCompOpt.

returns The agent comp.

since v3000.0

group Components

subgroup Level

kaplay logo

Components

Miscellaneous