Can you get current scene and its name in Tool?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By KramchayDig

I tried to get the name of the current scene with the use of tool, a powerful feature of Godot. Too bad the Object is null and my script is in the scene.

I was able to run the game and I saw the name of the scene but I want to see the name in in tool mode is there any way I can get the current name scene while still in editor?

Experiencing the same issue at the moment.

sarge | 2022-02-05 01:51