.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead. .. _class_EditorScript: EditorScript ============ **Inherits:** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Simple script to perform changes in the currently edited scene. Member Functions ---------------- +------------------------------------------------+---------------------------------------------------------------------------------------------------+ | void | :ref:`_run` **(** **)** virtual | +------------------------------------------------+---------------------------------------------------------------------------------------------------+ | void | :ref:`add_root_node` **(** :ref:`Node` node **)** | +------------------------------------------------+---------------------------------------------------------------------------------------------------+ | :ref:`EditorInterface` | :ref:`get_editor_interface` **(** **)** | +------------------------------------------------+---------------------------------------------------------------------------------------------------+ | :ref:`Node` | :ref:`get_scene` **(** **)** | +------------------------------------------------+---------------------------------------------------------------------------------------------------+ Description ----------- This script can be run from the Scene -> Run Script menu option. Member Function Description --------------------------- .. _class_EditorScript__run: - void **_run** **(** **)** virtual .. _class_EditorScript_add_root_node: - void **add_root_node** **(** :ref:`Node` node **)** .. _class_EditorScript_get_editor_interface: - :ref:`EditorInterface` **get_editor_interface** **(** **)** .. _class_EditorScript_get_scene: - :ref:`Node` **get_scene** **(** **)**