Function agent(opt?: AgentCompOpt): AgentComp An agent which can find its way on a tilemap.param opt- Options for the agent component. See returns The agent comp.since v3000.0group Componentssubgroup Level