Error: Scene is modified within a rendering callback of another scene (). This is not allowed and may lead to crash
I am trying to transition from one scene to another for my swift game. I am still learning and apologize for any blatant issues with my code.