This object manages the SceneTree selection in the editor.
Emitted when the selection changes.
Adds a node to the selection.
Note: The newly selected node will not be automatically edited in the inspector. If you want to edit a node, use EditorInterface.edit_node.
Clear the selection.
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.
Removes a node from the selection.