# To Erase an Object [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [Procedures](Help%20System/GSTARCAD/2027/Commands/01%20Procedures/(Procedures).md) **To Erase an Object** 1. Click Modify > Erase on the main menu. 2. Select the object that you want to remove. You can use one of the following methods to select objects: - Enter L (Last) to erase the last object drawn. - Enter p (Previous) to erase the last selection set. - Enter all to erase all objects from the drawing. - Enter ? to see a list of all selection methods. 3. Press Enter to end the command. --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences/To%20Erase%20an%20Object.html) · © Gstarsoft Co., Ltd.