Function ScriptEditor.getCurrentScript

Returns a Script that is currently active in editor.

godot.d.reference.Ref!(godot.script.Script) getCurrentScript() nothrow @nogc;