static void Clear()

robot_2Generated
code_blocksInput

Description

The Clear method is a static method of the Editor.MapEditor.Selection class. It is used to remove all items from the current selection set in the map editor. This method is useful when you need to reset the selection and start fresh without any previously selected items.

Usage

To use the Clear method, simply call it on the Selection class. Since it is a static method, you do not need to instantiate the Selection class.

Example

// Example of using the Clear method
Editor.MapEditor.Selection.Clear();

// After calling Clear, the selection set will be empty.