# LAYOFF Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [L](Help%20System/GSTARCAD/2027/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:** 
> **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.
---
**Related References:**
- [Commands about Layers (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Layers.md)
**Related Tasks:**
- [To Work with Layers (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Work%20with%20Layers.md)
- [To Change the Visibility of Layers (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Change%20the%20Visibility%20of%20Layers.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_L/LAYOFF.html) · © Gstarsoft Co., Ltd.