- Edited
ThinKing_2005 $Autoload
That syntax means the child "Autoload" of the current node. It would only make sense inside a script attached to the "/root" node, since autoloads are children of that node.
Is it possible to attach a script to "/root"? I've never tried that.
This might work in the script of your top level node (child of /root): $"../Autoload"
, assuming you have an autoload named "Autoload".
But you can access an autoload anywhere in the scene tree using only its name:
Autoload.some_property
Autoload.some_method()