AgentDistanceToAgent AgentDistanceToAgent(Agent, Agent) Agent: Agent: Returns: number Usage local resultNumber = AgentDistanceToAgent(variableAgent, variableAgent) Back To Scripting Documentation