# LAYERSTATE 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 save, edit, restore and manage the layer states. The
[Layer States Manager dialog box](Help%20System/GSTARCAD/2022/Commands/03%20Dialog%20Boxes/Layer%20States%20Manager%20Dialog%20Box.md) is displayed.
Users can save the current layer settings in a drawing as a layer state. Layer
states can then be restored, edited, imported and exported for use in other
drawings.
## Command Access:
> **Icon:**
> 
> **Menu:** Format \> Layer States Manager**...**
> **Ribbon:** Home \> Layer \> Layer States Manager
> **Toolbar:** Layer \> Layer States Manager
> **Command:** LAYERSTATE
> **Alias:** /
**Command Prompts: /**