title: Oribt controls not working, mouse cant move scene
body: <p>I've been trying to figure this one out for a bit and I'm not sure if it's something to do with the OrbitControls.js or my code. I'm trying to simply get orbit controls to work but nothing seems to move.</p>
  <p>I used:</p>
  <pre><code>    controls = new THREE.OrbitControls(camera, scene);
  </code></pre>
  <p>instead of renderer.domElement as when I use that I can no longer see my scene.</p>
  <p>If anyone has any suggestions it would be much appreciated.</p>
  <p>here's my code:</p>
  <pre><code>
          &lt;script src=&quot;libraries/three.min.js&quot;&gt;&lt;/script&gt;
          &lt;script src=&quot;libraries/OrbitControls.js&quot;&gt;&lt;/script&gt;
          
  
  
          &lt;script&gt;
  
  
              let scene,camera,renderer, controls;
  
              function init(){
  
                  scene = new THREE.Scene();
                  scene.background = new THREE.Color( 0xdddddd );
  //Camera Things
  
                          camera = new THREE.PerspectiveCamera( 75, window.innerWidth/  window.innerHeight, 0.1, 5000 );
                          camera.position.set(0,25,25);
  
  //cube
                          var cubeGeometry = new THREE.BoxGeometry (10,10,10);
                          var cubeMaterial = new THREE.MeshBasicMaterial ({color: 0x1ec876});
                          cube = new THREE.Mesh (cubeGeometry, cubeMaterial);
  
                          cube.position.set (0, 0, 0);
                          scene.add (cube);
  
  // controls
                      controls = new THREE.OrbitControls(camera, scene);
  
                      scene.add( new THREE.AxesHelper(500));
  
  // Renderer
                      renderer = new THREE.WebGLRenderer();
                      renderer.setSize(window.innerWidth,window.innerHeight);
                      document.body.appendChild( renderer.domElement );
                      animate();
                      }
  
                  function animate() {
                  controls.update();
                  renderer.render( scene, camera );
                  requestAnimationFrame( animate );
                  }
  
                  init();
  
  
          &lt;/script&gt;
      &lt;/body&gt;
  
  </code></pre>
  <p>Thankyou!</p>