Godot Version
4.3
Question
I want to add an instance of a packedscene to a node tree, using the following code:
var packed_scene=load(string_path)
var instance=packed_scene.instantiate()
add_child(instance)
before adding the packed_scene instance, I want to check if an instance of the packed_scene already exists in the specific node tree and not add the child if it already exists.