I am attempting to find the current folder path to a specific script (or node).
I am not looking for Node's get_path(), as that return a NodePath; path to a node. I am looking for the file path. ex: "res://path/to/folder/".
Anyone know how I may get this path without having to hardcode the res://path/to ?
The reason I want this is because I am working on creating a scene that can be easily imported into other game projects; so the res://path may change depending on project.
Help would be appreciated.