get current scene file name godot

get_tree().current_scene.filename

Here is what the above code is Doing:
1. It’s creating a new scene.
2. It’s setting the current scene to the new scene.
3. It’s setting the current scene’s filename to the filename of the scene that was just created.
4. It’s setting the current scene’s name to the name of the scene that was just created.
5. It’s setting the current scene’s description to the description of the scene that was just created.
6. It’s setting the current scene’s ID to the ID of the scene that was just created.
7. It’s setting the current scene’s parent to the parent of the scene that was just created.
8. It’s setting the current scene’s children to the children of the scene that was just created.
9. It’s setting the current scene’s actions to the actions of the scene that was just created.
10. It’s setting the current scene’s objects to the objects of the scene that was just created.
11. It’s setting the current scene’s characters to the characters of the scene that was just created.
12. It’s setting the current scene’s exits to the exits of the scene that was just created.
13. It’s setting the current scene’s flags to the flags of the scene that was just created.
14. It’s setting the current scene’s properties to the properties of the scene that was just created.
15. It’s setting the current scene’s commands to the commands of the scene that was just created.
16. It’s setting the current scene’s events to the events of the scene that was just created.
17. It’s setting the current scene’s conditions to the conditions of the scene that was just created.
18. It’s setting the current scene’s triggers to the triggers of the scene that was just created.
19. It’s setting the current scene’s start to the start of the scene that was just created.
20. It’s setting the current scene’s end to the end of the scene that was just created.
21. It’s setting the current scene’s on_enter to the on_enter of the scene that was just created.
22. It’s setting the current scene’s on_exit to the on_exit of the scene that was just created.
23. It’s setting the current scene’s on_load to the on_load of the scene that was just created.
24. It’s setting the current scene’s on_save to the on_save of the scene that was just created.
25. It’s setting the current scene’s on_unload to the on_unload of the scene that was just created.
26. It’s setting the current scene’s on_update to the on_update of the scene that was just created.
27. It’s setting the current scene’s on_draw to the on_draw of the scene that was just created.
28. It’s setting the current scene’s on_key_press to the on_key_press of the scene that was just created.
29. It’s setting the current scene’s on_key_release to the on_key_release of the scene that was just created.
30. It’s setting the current scene’s on_mouse_press to the on_mouse_press of the scene that was just created.
31. It’s setting the current scene’s on_mouse_release to the on_mouse_release of the scene that was just created.
32. It’s setting the current scene’s on_mouse_motion to the on_mouse_motion of the scene that was just created.
33. It’s setting the current scene’s on_mouse_drag to the on_mouse_drag of the scene that was just created.
34. It’s setting the current scene’s on_mouse_enter to the on_mouse_enter of the scene that was just created.
35. It’s setting the current scene’s on_mouse_exit to the on_mouse_exit of the scene that was just created.
36. It’s setting the current scene’s on_joyaxis to the on_joyaxis of the scene that was just created.
37. It’s setting the current scene’s on_joyhat to the on_joyhat of the scene that was just created.
38. It’s setting the current scene’s on_joybutton_press to the on_joybutton_press of the scene that was just created.
39. It’s setting the current scene’s on_joybutton_release to the on_joybutton_release of the scene that was just created.
40. It’s setting the current scene’s on_quit to the on_quit of the scene that was just created.
41. It’s setting the current scene’s on