code: public boolean requestMoveTarget(int idx, long ref, float[] pos) {
          if (idx < 0 || idx >= m_maxAgents) {
              return false;
          }
          if (ref == 0) {
              return false;
          }
  
          CrowdAgent ag = m_agents[idx];
  
          // Initialize request.
          ag.setTarget(ref, pos);
          ag.targetReplan = false;
  
          return true;
      }
docs: / The request will be processed during the next #update().