How do I change scenes?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LockManipulator

For instance, when someone clicks a button on the main menu scene, I want it to take them to the main game scene where the game happens.

:bust_in_silhouette: Reply From: kidscancode

You can use get_tree().change_scene():

There is also a section in the documentation I recommend reading:

Thanks! I couldn’t find that section of the documentation.

LockManipulator | 2018-02-19 22:55