I want to switch cameras, so I tried with the make_current() but it gives me the error
E 0:00:01:0641 borrar.gd:14 @ _process(): Node not found: "CameraD2" (relative to "/root/Node2D").
<C++ Error> Method/function failed. Returning: nullptr
<C++ Source> scene/main/node.cpp:1634 @ get_node()
<Stack Trace> borrar.gd:14 @ _process()

This is the script and tree scene

Add this between lines 6 and 7, and post the output:
print_tree()

But I don't understand this:

borrar.gd:14

That's referencing line 14 of that script, but the script only appears to have 8 lines.

    DaveTheCoder

    Here's the output, yeah this is a new script so there should just be the 8 lines of code, idk how its refering to a nonexistent 14 line.

    Zini You're right, now it works, thx.
    Its still givin me issues in another scene, do You know any other way to call the function .make_current()?

      The_fail
      Idk why but it seems to be something wrong with my scene, I cant even modifiy the visibility of a sprite, so Im just moving everything that I had to a new scene and erasing the problematic one. I'll keep trying the .make_current() as I pass the stuff to the new one, maybe I can find the culprit.