I want to change one scene to next scene when a button is pressed. how?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Bibin
:warning: Old Version Published before Godot 3 was released.
:bust_in_silhouette: Reply From: Daniel Lewan

Connect button signal pressed(): to some script and in generated function add:

get_tree().change_scene("res://my_awesome_scene.tscn")

Documentation