EditorSelection

    Category: Core

    Manages the SceneTree selection in the editor.

    • selection_changed ( )

    This object manages the SceneTree selection in the editor.

    • void add_node ( node )

    Add a node to the selection.



    • Array get_selected_nodes ( )

    Get the list of selected nodes.


    • get_transformable_selected_nodes ( )

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


    • void remove_node ( Node node )