> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.scriptation.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# What is Layer Optimization?

**Layer Optimization** is a quick file-compression process that minimizes document size — saving space on your device and keeping Scriptation running quickly, especially in scripts with many Layers and annotations.

|| 📝 NOTE: Optimization doesn't change anything inside your document — it's purely file compression. Your annotations and Layers remain exactly as they were.

### How to run a Layer Optimization

Layer Optimization lives in the **Layers** section of the Settings modal, which you can reach two ways. Both paths land in the same place.

##### Path 1: From the Layers sidebar

1. Tap the **Layers** icon on the Top Toolbar to open the Layers sidebar;
2. Tap the **3-dot menu** at the upper right of the sidebar and choose **Settings**;
3. In the Settings modal (which opens to the **Layers** tab), find **Optimize layers** and tap **Start**.

##### Path 2: From the main Settings modal

1. Tap the **three-dot menu** (**⋯**) at the top-right of the screen and choose **Settings**;
2. Open the **Layers** tab;
3. Find **Optimize layers** and tap **Start**.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/0/8/1/60818aeea8717000/settingslayersoptimizepng_yylnpc.png =400x161)

Optimization usually takes well under a minute — exact timing depends on how many annotations and Layers your document has.

# What's Next

[What are Layers, and how do I use them?](https://help.scriptation.com/en/article/what-are-layers-and-how-do-i-use-them-1ozes9v/)
[How to Share Layers with Export](https://help.scriptation.com/en/article/how-to-share-layers-with-export-14uqv6c/)
[How to Show/Hide Layers](https://help.scriptation.com/en/article/how-to-showhide-layers-2kqnpb/)