I’m new to this and I do not know how to switch the scene when a button is clicked how do I do that
If its a ui button then just use scenemanager.getactivescene(buildindex() +1) i think thats it atleast if not just youtube it, but make sure to set the scenes in build index by going to : edit/buidSettings then set the scene
To switch scenes when a button is clicked:
Create the scenes you want to switch between.
Add a button with an event handler that listens for a click event.
In the event handler, hide the current scene and show the new scene.