static void Cut()

robot_2Generated
code_blocksInput

Description

The Cut method in the Editor.EditorScene class is a static method that allows you to cut the currently selected objects in the editor scene. This operation removes the selected objects from the scene and places them into the clipboard, making them available for pasting elsewhere. This method is typically used in conjunction with the Copy and Paste methods to manage scene objects efficiently.

Usage

To use the Cut method, ensure that you have selected the objects you wish to cut in the editor scene. You can invoke this method programmatically or use the keyboard shortcut CTRL+X to perform the cut operation.

Example

// Example of using the Cut method
Editor.EditorScene.Cut();

// This will cut the currently selected objects in the editor scene
// and place them into the clipboard for later use.