# LAYERP Command
[GstarCAD 2011](../../Index.md) → [Commands](../%28Commands%29.md) → [L](%28L%29.md)
## Function Description:
> Undo the last change or set of changes made to layer settings
**Menu:**
> Format\>Layer Tools\>Layer Previous
**Command Entry:**
> LAYERP
>
> Undo change you have made to layer settings such as color or linetype. If settings are restored, a message is displayed: "Restored previous layer states."
>
> When you use Layer Previous, it undoes the most recent change using either the Layer control or the Layer Properties Manager. Every change you make to layer settings is tracked and can be undone by Layer Previous.
>
> LAYERP (Layer Previous) does not undo the following changes:
>
> - Renamed layers: If you rename a layer and change its properties, Layer Previous restores the original properties but not the original name.
> - Deleted layers: If you delete or purge a layer, using Layer Previous does not restore it.
> - Added layers: If you add a new layer to a drawing, using Layer Previous does not remove it.
>
> <a id="crleadin"></a>
## Other versions with matching text
[GstarCAD 2012](../../../2012/Commands/L/LAYERP%20Command.md)