look at detail at maps/dev/procedural_generation_test.tscn
Bug report DOES NOT WORK as the game does not pause and there is no api. THIS WILL BE SOLVED ONCE THE API IS READY