Composer related issures

Hello! I am having some trouble with general usage of the composer API. My main problem is, how do I actually change and delete scenes instead of just hiding them? I would also like to know how I could add this to some listener (in my case, for a restart button)

Hi!

You are looking for composer.removeHidden() and composer.removeScene()

For the second question, restarting is a bit tricky. You need an extra scene to make it happen. Something like gameScenerestartScenegameScene. You can add a timer to your restart scene so it automatically changes back to gameScene after some time.