Attention: Here be dragons
This is the
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Used by the editor to extend its functionality.
Plugins are used by the editor to extend functionality. The most common types of plugins are those which edit a given node or resource type, import plugins and export plugins. See also EditorScript to add functions to the editor.
main_screen_changed ( String screen_name )
Emitted when user changes the workspace (2D, 3D, Script, AssetLib). Also works with custom screens defined by plugins.
project_settings_changed ( )
Emitted when any project setting has changed.
resource_saved ( Resource resource )
Emitted when the given
resource was saved on disc.
scene_changed ( Node scene_root )
Emitted when the scene is changed in the editor. The argument will return the root node of the scene that has just become active. If this scene is new and empty, the argument will be
scene_closed ( String filepath )
Emitted when user closes a scene. The argument is file path to a closed scene.
CustomControlContainer CONTAINER_TOOLBAR =
Main editor toolbar, next to play buttons.
The toolbar that appears when 3D editor is active.
CustomControlContainer CONTAINER_SPATIAL_EDITOR_SIDE_LEFT =
Left sidebar of the 3D editor.
CustomControlContainer CONTAINER_SPATIAL_EDITOR_SIDE_RIGHT =
Right sidebar of the 3D editor.
CustomControlContainer CONTAINER_SPATIAL_EDITOR_BOTTOM =
Bottom panel of the 3D editor.
The toolbar that appears when 2D editor is active.
CustomControlContainer CONTAINER_CANVAS_EDITOR_SIDE_LEFT =
Left sidebar of the 2D editor.
CustomControlContainer CONTAINER_CANVAS_EDITOR_SIDE_RIGHT =
Right sidebar of the 2D editor.
CustomControlContainer CONTAINER_CANVAS_EDITOR_BOTTOM =
Bottom panel of the 2D editor.
CustomControlContainer CONTAINER_INSPECTOR_BOTTOM =
Bottom section of the inspector.
CustomControlContainer CONTAINER_PROJECT_SETTING_TAB_LEFT =
Tab of Project Settings dialog, to the left of other tabs.
CustomControlContainer CONTAINER_PROJECT_SETTING_TAB_RIGHT =
Tab of Project Settings dialog, to the right of other tabs.
DockSlot DOCK_SLOT_LEFT_UL =
Dock slot, left side, upper-left (empty in default layout).
DockSlot DOCK_SLOT_LEFT_BL =
Dock slot, left side, bottom-left (empty in default layout).
DockSlot DOCK_SLOT_LEFT_UR =
Dock slot, left side, upper-right (in default layout includes Scene and Import docks).
DockSlot DOCK_SLOT_LEFT_BR =
Dock slot, left side, bottom-right (in default layout includes FileSystem dock).
DockSlot DOCK_SLOT_RIGHT_UL =
Dock slot, right side, upper-left (empty in default layout).
DockSlot DOCK_SLOT_RIGHT_BL =
Dock slot, right side, bottom-left (empty in default layout).
DockSlot DOCK_SLOT_RIGHT_UR =
Dock slot, right side, upper-right (in default layout includes Inspector, Node and History docks).
DockSlot DOCK_SLOT_RIGHT_BR =
Dock slot, right side, bottom-right (empty in default layout).
DockSlot DOCK_SLOT_MAX =
Represents the size of the DockSlot enum.