how to make a scene in godot code example
Example 1: change scene godot
get_tree().change_scene(scene_to_load)
Example 2: spawn in a scene godot
var scene = load("file_path")
var obj = scene.instance()
add_child(obj)
#obj.transform.origin = Vector3(x,y,z) Set Vector3 transform