I want a simple way for my user to get back into the game after the gameOver variable is true. What is required if gameOver is true inorder to make this happen? clearAll and then something else...?
clearScenegraph is a synchron methode so you don't have a callback, just execute whatever you want after it and it will be ok.
you simply call $.playground().clearScenegraph() and all the elements from you game will be erased. You must just make sure that no other existing methodes will try to access them after that point.