what i want is to be able to access ui scene.
when i press button i want to be able to load the a ui scene from another folder. i am kinda new and i cant find anyone talking about this, everyone keep saying use instance or what ever it is but i dont quite know how.
please help. all i want to to call ui on top of existing ui with out taking me to another separate scene
how can i call UI Scene on top of another UI
- Edited
Which version of Godot?
Here's an example of loading and instancing a scene (Godot 4):
# Load scene.
var Bullet: PackedScene = load("bullet.tscn")
# Create instance of scene. In this case, root node is an Area2D.
var bullet: Area2D = Bullet.instantiate()
# Adds scene to scene tree as child of current node.
add_child(bullet)
In Godot 3, use .instance() instead of .instantiate().