title: How To Restart Scenes In Corona SDK?
body: <p>Am using Corona's SDK <a href="http://developer.anscamobile.com/reference/index/storyboardgotoscene" rel="nofollow">storyboard API</a>, in my app I want to let users "try again" the level. I though simply calling</p>
  
  <pre><code>storyboard.gotoScene("level20","flip") 
  </code></pre>
  
  <p>where level20 is the current scene, after an event (taping the "try again" button) would work but the scene keeps all it's display objects in the same place instead of resetting like when I come from a different scene.</p>
  
  <p>Is it possible to restart a scene from the same scene? </p>
  
  <p>Thanks. </p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Am using Corona's Version: 2.0.0, Build: 2011.704</p>
  
  <p><strong>Edit (possible fix):</strong></p>
  
  <p>I might have found the fix. From the <a href="http://blog.anscamobile.com/2011/11/introducing-the-storyboard-api/" rel="nofollow">docs</a> in the "Scene Purging and Removal": when you go to a new scene the previous scene sticks around in memory for fast reloading,  scene:createScene() removes this memory. </p>
  
  <p>So the fix I found was to call  <code>scene:createScene()</code>, it seems to work but if this is the wrong approach please let us know. Thanks.</p>