title: AFrame scene reload method
body: <p>i'm trying to reload the scene on AFrame, i have a scene with a robot and i need to load back to original state of the scene when users click a button.</p>
  
  <p>What i already tried is:</p>
  
  <pre><code>var sceneElement = document.querySelector("a-scene");
    sceneElement.reload();
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>location.reload()
  </code></pre>
  
  <p>The first one raise an error on browser console showing that <code>reload()</code> method is not a function but documentation on <a href="https://aframe.io/docs/0.9.0/core/scene.html#methods_reload" rel="nofollow noreferrer">AFrame</a> supports it. I don't know if i'm using this function right.</p>
  
  <pre><code>Uncaught TypeError: sceneElement.reload is not a function
      at HTMLDocument.eval (websim.js:64)
      at HTMLButtonElement.eval (editor.js:23)
      at HTMLButtonElement.dispatch (jquery.js:4953)
      at HTMLButtonElement.elemData.handle (jquery.js:4758)
  </code></pre>
  
  <p>The last code from below reloads the entire page and this is not what i need.</p>
  
  <p>Thank you! :)</p>