static void InvertSelection()

robot_2Generated
code_blocksInput

Description

The InvertSelection method is a static method of the Editor.MapEditor.Selection class. It is used to invert the current selection of map nodes in the map editor. This means that all currently selected nodes will be deselected, and all currently unselected nodes will be selected.

Usage

To use the InvertSelection method, simply call it without any parameters. This will toggle the selection state of all map nodes in the current selection set.

Example

// Example of using InvertSelection
Editor.MapEditor.Selection.InvertSelection();

// After calling this method, all selected nodes will be deselected
// and all unselected nodes will be selected.