EditorInspector

    A tab used to edit properties of the selected node.

    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 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 EditorInterface.get_inspector.

    void ( )
    • object_id_selected ( int id )

    • property_edited ( property )

    Emitted when a property is edited in the inspector.


    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.


    • property_selected ( String property )

    Emitted when a property is selected in the inspector.


    • property_toggled ( property, bool checked )

    Note: This signal is never emitted if the internal property enabled. Since this property is always enabled in the editor inspector, this signal is never emitted by the editor itself.


    • resource_selected ( res, String prop )

    Emitted when a resource is selected in the inspector.


    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.

    • void refresh ( )

    Note: To save on CPU resources, calling this method will do nothing if the time specified in editor setting hasn’t passed yet since this method was last called. (By default, this interval is set to 0.3 seconds.)