How to access a scene from another scene ?

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

Hey I 've made my game , n I want to add some button like “start” .
So I m using VBOX CONTAINER , menu_buttons n creating a function for pressed signal

like :
func _on_MenuButton_pressed(): #auto generated
load(“res://Node2D.scn”)

but on pressing the button nothing happens.
Pls tell me a solution.
I will be highly obliged !
Your help shall be highly aprreciated

:bust_in_silhouette: Reply From: Tetragono

load(“res://Node2D.scn”) only loads the scene, you should use

get_tree().change_scene("res://Node2D.scn") or goto_scene("res://Node2D.scn")

See also: Singletons (AutoLoad)