title: How to return an object in Three.js rather than add it to a scene? (FBXLoader)
body: <p>If I call this function in Javascript, it works, and it adds the object to the scene:</p>
  
  <pre><code>var loader = new THREE.FBXLoader();
  
  function returnFBX(PATH, scene) {
      loader.load('obj/' + PATH + '.fbx', function (object) {
          scene.add(object);
      });
  }
  </code></pre>
  
  <p>However, if I replace:</p>
  
  <pre><code>scene.add(object);
  </code></pre>
  
  <p>with:</p>
  
  <pre><code>return object;
  </code></pre>
  
  <p>It seems to return undefined.</p>
  
  <p>I tried using Promises, as well as the Loading Manager, but both only seem to be able to add the object to the scene, and not return an object.</p>
  
  <p>I think this is because there are two nested functions within each other, as well as the loading being asynchronous. But I'm not sure how to fix this, as this is a standard way to load objects.</p>