How to Lock Lines in Procreate
StyleFrame Team7 min read
Procreate has no single "lock lines" button, but you can protect linework in two ways. Swipe right-to-left on the line layer and tap Lock to freeze it completely, or put your shading on separate layers and use Alpha Lock or a Clipping Mask so color never spills past the lines. Layer Lock stops accidental edits to the lines, while Alpha Lock and clipping masks stop your paint from leaving the shape.
What "Locking Lines" Means in Procreate
Artists use the phrase for two different goals, and Procreate handles them with different tools:
- Protecting the lines from changes. You've finished the outline and don't want to smudge, erase, or move it by accident.
- Keeping paint inside the lines. You want to shade and color without touching the outline or crossing it.
The first is a Layer Lock. The second has no direct equivalent: Procreate has no switch that makes line pixels untouchable while you paint around them on the same layer. You get the same result by organizing layers so the lines and the color live apart, then restricting where the color can go.
Once that clicks, most frustration disappears. The question stops being "how do I lock this stroke?" and becomes "which layer should this paint live on, and what limits it?"
Method 1: Layer Lock (Protect the Linework Itself)
Use this when the line art is done and you want it safe.
- Open the Layers panel.
- Swipe right-to-left on the line layer.
- Tap Lock.
A small padlock appears next to the layer name. A locked layer can't be edited, moved, cut, pasted, transformed, or deleted. To undo it, swipe the same way and tap Unlock.
A few behaviors to know:
- Groups lock together. Locking a Group locks every layer inside it.
- Unlocking is all-or-nothing for groups. Unlock one layer inside a locked Group and the whole Group unlocks. If you rely on a locked line layer inside a group, keep the lines in their own group or at the top level.
- It doesn't restrict your color. A locked line layer is protected, but it does nothing to keep paint on other layers inside the shapes. That's the job of the next methods.
Layer Lock is also useful before handoff. Locking the final line layer and background layers before you start experimenting with color keeps a stable base.
Method 2: Alpha Lock (Keep Paint Inside Existing Shapes)
Alpha Lock restricts a layer to the pixels that already exist on it. With it on, you can paint, fill, or texture the layer freely, but nothing lands on transparent areas.
To turn it on:
- Tap the layer and choose Alpha Lock, or
- Swipe left-to-right on the layer with two fingers.
A checkerboard pattern appears in the layer thumbnail while it's active.
There are two good ways to apply it to a line-art workflow.
Recoloring the lines themselves
Put the outline on its own layer and turn on Alpha Lock. Now you can change line color, add gradients, or run a textured brush over the whole layer, and the strokes keep their exact silhouette. This is the quickest way to swap black outlines for a colored line without redrawing anything.
Shading inside a flat color shape
Block in a flat color on its own layer, then Alpha Lock it. Shading, patterns, and texture stay inside the silhouette. Turn Alpha Lock off if you need to extend the shape, make your edit, and switch it back on.
The trade-off
Alpha Lock is destructive. You're changing the original pixels, so if you decide the shading was wrong, you repaint rather than toggle something off. For quick texture and simple recolors that's fine. For anything you may revise later, clipping masks are safer.
Method 3: Clipping Masks (Non-Destructive Containment)
A Clipping Mask attaches a layer to the one below it. Whatever you paint on the clipped layer is visible only where the base layer has pixels. Paint can extend past the edges, but you only see the part on top of the shape.
To set one up:
- Create a base layer with your flat color shape.
- Add a new layer above it.
- Tap the new layer and choose Clipping Mask. A small arrow appears on it.
Because the shading is on its own layer, you can change its opacity or blend mode, hide it, move it, or delete it without touching the color beneath. You can clip multiple layers to the same base, for example one for shadows, one for highlights, and one for pattern.
The cost is layer count. Procreate has layer limits, and complex illustrations with many clipped layers can hit them. Merging finished clipped layers into their base, once you're sure of them, frees up room.
Method 4: Reference and ColorDrop (Fill Cleanly Inside Linework)
If your concern is flat-coloring inside an outline, the cleanest approach is to keep the lines and the color on separate layers and let the lines act as a guide:
- Draw your outline on its own layer.
- Set that line layer as the Reference layer.
- Select your color layer and drag a color onto an enclosed area (ColorDrop).
ColorDrop fills based on the referenced lines, so the fill stops at the outline even though the color lives on another layer. Then apply Alpha Lock to that color layer, and further shading stays within the filled shapes.
The result is a three-part stack:
- Top: line art (locked with Layer Lock when finished)
- Middle: flat color layers (Alpha Locked)
- Above the color: shading and texture layers clipped to the color
Gaps in the outline are the usual reason a fill leaks. Close the gap with a short stroke on the line layer, or zoom in and check the corners.
Which Method Should You Use?
For most illustration work, a good default is: lines locked on top, flat colors Alpha Locked underneath, and shading on clipped layers.
Common Mistakes
- Painting shading on the line layer. If shading shares a layer with the outline, you can't separate them later. Keep them apart from the start.
- Forgetting Alpha Lock is on. If a brush "isn't working" on a layer, check for the checkerboard thumbnail.
- Locking a layer and trying to edit it. The padlock blocks transforms and moves too, not only painting. Unlock before you reposition.
- Unlocking one layer in a locked Group. This unlocks the whole Group, so you can lose protection you didn't intend to.
- Over-relying on clipping masks. Past a certain point you'll run out of layers. Merge settled layers before you start new passes.
From Locked Linework to Motion
For motion designers and animators, Procreate is often the start of a pipeline rather than the end. Clean, separated layers pay off when you bring artwork into After Effects, because a locked-down stack translates directly into compositing-ready assets.
Some practical habits:
- Export layered files. Keeping line art, color, and shading separate lets you animate or adjust them individually in After Effects.
- Keep line art on its own layer. That lets you recolor, blur, or apply effects to the outline in compositing without re-exporting.
- Name your layers before export. A stack of "Layer 47" copies slows down everyone downstream.
Quick Reference
- Lock a layer: swipe right-to-left on the layer, tap Lock.
- Unlock a layer: swipe right-to-left, tap Unlock.
- Toggle Alpha Lock: two-finger swipe left-to-right on the layer, or use the Layer Options menu.
- Clip a layer: tap the layer, choose Clipping Mask.
- Fill within lines: set the line layer as Reference, then ColorDrop onto your color layer.
FAQ
Is there a way to lock lines so I can't paint over them on the same layer? Not directly. Put the lines on their own layer and paint on another layer beneath or clipped to your color shapes. That separation does what a line lock would.
What's the difference between Layer Lock and Alpha Lock? Layer Lock protects the entire layer from any edit. Alpha Lock lets you keep editing the layer but only on pixels that already exist there.
Why can't I draw on my layer? It's probably locked (look for the padlock) or Alpha Locked with nothing under your brush (look for the checkerboard thumbnail).
Should I use Alpha Lock or a Clipping Mask for shading? Use Alpha Lock for quick, low-risk work. Use a Clipping Mask when you may want to adjust or remove the shading later.