EditorSelection

    Manages the SceneTree selection in the editor.

    This object manages the SceneTree selection in the editor.

    • selection_changed ( )

    Emitted when the selection changes.

    Adds a node to the selection.


    • void clear ( )

    • get_selected_nodes ( )

    Gets the list of selected nodes.


    Gets the list of selected nodes, optimized for transform operations (i.e. moving them, rotating, etc). This list avoids situations where a node is selected and also child/grandchild.


    • void remove_node ( Node node )