title: How to Remove 3d objects which are placed on AR Screen
body: <p>I have an AR Screen where I placed some 3d objects. I am using google AR Core with android SDK.</p>
  
  <p>I need to remove those objects from the scene on clicking of a clear button. </p>
  
  <p>I was able to remove the last placed object. But the other objects were not removing.</p>
  
  <p>This is the code i am using.</p>
  
  <pre><code>if (newAnchor != null) {
              arFragment.getArSceneView().getScene().removeChild(newAnchor);
              newAnchor.getAnchor().detach();
  </code></pre>