# LAYERP 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 undo the last change or last group of changes of layer settings.
## Command Access:
> **Icon:**
> 
> **Menu:** Format \> Layer Tools \> Layer Previous
> **Ribbon:** Home \> Layer \> Layer Previous
> **Toolbar:** Layer \> Layer Previous
> **Command:** LAYERP
> **Alias: /**
**Command Prompts: /**
Users can undo previous changes of layers settings (such as color or line weight) and display Restored previous layer status
at the Command prompt. All changes of layers are traced. Users can use this
command to undo changes by "Layer" control or Layer Properties Manager.
The LAYERP
command can not undo some changes as the following:
- Layers renamed:
If the layer name and its properties are changed, the LAYERP command can restore
the original layer properties rather than the original name.
- Layers deleted: If the layer has been deleted or cleared up, the LAYERP
command can not restore it.
- Layers added: If users add a new layer to a drawing, the LAYERP command
can not remove it.