# LAYOFF Command [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [L](Help%20System/GSTARCAD/2022/Commands/L/(L).md) ## Function Description: This command is used to turn off the layer of a selected object. Turning off the layer of a selected object makes the object invisible. This command is useful if you need an unobstructed view when working in a drawing or if you don't want to plot details such as reference lines. ## Command Access: > **Icon:** > ![](GCADICO_OFFLAY.png) > **Menu:** Format \> Layer Tools \> Layer Off > **Ribbon:** Home \> Layer \> LAYOFF > **Toolbar:** Layers Ⅱ \> Layer Off > **Command:** LAYOFF > **Alias:** / ## Command Prompts: Select object on layer to turn off or \[Settings/Undo\]: ## **Select object on layer to turn off** Selects one or more objects whose layers you want to turn off. ## **Settings** Displays the settings for viewports and block definitions. The setting you choose persists from session to session. - **Viewports:** Displays settings for viewports. **Vpfreeze:** In paper space, freezes the layer selected in the current viewport. **Off:** In paper space, turns off selected layers in all viewports. - **Block selection:** Displays the settings for block selection, where you can freeze layers of selected objects. **Block:** If a selected object is nested in a block, the layer of the selected block is turned off. If a selected object is nested in an external reference, the layer of the selected object is turned off. **Entity:** Turns off layers of selected objects even if they are nested in an external reference or a block. **None:** If selecting a block or an external reference, turns off the layers that the block or external reference belongs to. ## **Undo** Cancels the previous layer selection.