:github_url: hide .. Generated automatically by doc/tools/make_rst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the EditorInspector.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_EditorInspector: EditorInspector =============== **Inherits:** :ref:`ScrollContainer` **<** :ref:`Container` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` A tab used to edit properties of the selected node. Description ----------- The editor inspector is by default located on the right-hand side of the editor. It's used to edit the properties of the selected node. For example, you can select a node such as the Sprite2D then edit its transform through the inspector tool. The editor inspector is an essential tool in the game development workflow. \ **Note:** This class shouldn't be instantiated directly. Instead, access the singleton using :ref:`EditorInterface.get_inspector`. Properties ---------- +----------------------------------------------------+------------------------+-------------------------------------------------------------------------------------------------+ | :ref:`ScrollMode` | horizontal_scroll_mode | ``0`` (overrides :ref:`ScrollContainer`) | +----------------------------------------------------+------------------------+-------------------------------------------------------------------------------------------------+ Signals ------- .. _class_EditorInspector_signal_edited_object_changed: - **edited_object_changed** **(** **)** Emitted when the object being edited by the inspector has changed. ---- .. _class_EditorInspector_signal_object_id_selected: - **object_id_selected** **(** :ref:`int` id **)** Emitted when the Edit button of an :ref:`Object` has been pressed in the inspector. This is mainly used in the remote scene tree inspector. ---- .. _class_EditorInspector_signal_property_deleted: - **property_deleted** **(** :ref:`String` property **)** Emitted when a property is removed from the inspector. ---- .. _class_EditorInspector_signal_property_edited: - **property_edited** **(** :ref:`String` property **)** Emitted when a property is edited in the inspector. ---- .. _class_EditorInspector_signal_property_keyed: - **property_keyed** **(** :ref:`String` property, :ref:`Variant` value, :ref:`bool` advance **)** Emitted when a property is keyed in the inspector. Properties can be keyed by clicking the "key" icon next to a property when the Animation panel is toggled. ---- .. _class_EditorInspector_signal_property_selected: - **property_selected** **(** :ref:`String` property **)** Emitted when a property is selected in the inspector. ---- .. _class_EditorInspector_signal_property_toggled: - **property_toggled** **(** :ref:`String` property, :ref:`bool` checked **)** Emitted when a boolean property is toggled in the inspector. \ **Note:** This signal is never emitted if the internal ``autoclear`` property enabled. Since this property is always enabled in the editor inspector, this signal is never emitted by the editor itself. ---- .. _class_EditorInspector_signal_resource_selected: - **resource_selected** **(** :ref:`Resource` resource, :ref:`String` path **)** Emitted when a resource is selected in the inspector. ---- .. _class_EditorInspector_signal_restart_requested: - **restart_requested** **(** **)** Emitted when a property that requires a restart to be applied is edited in the inspector. This is only used in the Project Settings and Editor Settings. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`