How to Not Color Outside the Lines in Procreate
StyleFrame Team7 min read
The most reliable way to stop coloring outside the lines in Procreate is to put your color on a separate layer above the line art or base shape and turn on Clipping Mask, so paint can only appear where the layer below has pixels. Alpha Lock does the same on a single layer by protecting its transparent areas. For line art with no filled shape underneath, use Automatic Selection on the area (or select the outside and invert), then paint on a layer below the lines.
Why strokes escape the shape in the first place
Procreate is a raster painter. A brush stroke lands on whatever layer is active, regardless of what sits beneath it. Nothing in the app knows that your circle is "a shape" unless you tell it, using one of three constraint systems: clipping masks, Alpha Lock, or selections.
Each one answers a different question:
- Clipping Mask: "Paint only where the layer below has pixels, and keep it on its own layer."
- Alpha Lock: "Paint only where this layer already has pixels, directly on this layer."
- Selection: "Paint only inside this region I defined, whether or not any pixels exist there."
Choosing the right one up front saves you from undo-and-erase cleanup later. The sections below go through each.
Method 1: Clipping Mask (best for non-destructive shading)
This is a popular method, and it's the closest equivalent to what you'd do with a track matte or a clipped layer in After Effects.
- Draw your base shape on its own layer. Fill it solid so there are actual pixels to clip to.
- Tap the + in the Layers panel to add a new layer directly above it.
- Tap the new layer and choose Clipping Mask. A small arrow appears, and the layer thumbnail indents.
- Paint with any brush at any size. Everything outside the base shape is hidden.
The big advantage is that the clipped layer follows the layer below. If you reshape, erase, or move the base, the shading adapts automatically. You can also stack several clipped layers for shadows, highlights, and texture, and adjust each one's opacity or blend mode independently without touching the base.
The trade-off is that the clipped layer stays tethered to its parent. If you move the base layer, you need to move the clipped layers with it (group them first to keep this manageable). Some artists dislike that dependency; others consider it the entire point.
Tips for clean clipping stacks
- Group the base and its clipped layers. Use the group option, so you can transform the entire character part as a single object.
- Name layers by function. "Shadow," "Rim light," and "Texture" are more useful than "Layer 14" when you revisit a file weeks later.
- Use blend modes on the clipped layers. Multiply for shadows and Add or Screen for highlights give you tonal control while keeping the color underneath intact.
Method 2: Alpha Lock (best for quick texture and flat recolors)
Alpha Lock locks the transparency of the layer you're on. Wherever the layer is transparent, you can't paint; wherever it has pixels, you can.
To turn it on, swipe right on the layer with two fingers, or tap the layer and choose Alpha Lock. The layer thumbnail shows a checkerboard pattern when it's active.
Alpha Lock is faster than a clipping mask because you don't create a second layer. It's ideal for:
- Recoloring a flat shape.
- Adding a pattern or speckle texture to a single object.
- Painting gradients across a silhouette.
The catch is that your paint is now baked into the same layer as the shape. You can't separately dial back the shading or swap its color without repainting, so it's less forgiving than a clipping mask. A sensible rule: use Alpha Lock for final-pass details and flat fills, and use clipping masks when you expect revisions.
One more caution: Alpha Lock only works if your shapes are on separate layers. If your whole illustration is on one layer, you'll constrain paint to "anything that isn't empty," which usually means the whole drawing.
Method 3: Selections (best for line art and coloring books)
Clipping masks and Alpha Lock both need pixels to clip against. If you have a line drawing with empty, transparent space inside the outlines, there's nothing to clip to. This is where selections come in, and it's also where many people get stuck.
A common mistake is tapping Select on the line art layer and expecting the inside of the shape to be selected. Select (in its default mode) selects the painted pixels, meaning the lines themselves, not the empty areas they enclose.
The reliable selection workflow
- Tap the Select tool (the S-shaped icon in the toolbar) and choose Automatic.
- Make sure Color Fill is off in the bottom toolbar. Otherwise, the tool fills the area with color instead of selecting it.
- Tap inside the area you want to color. Procreate selects the enclosed region.
- Switch to the brush and create a new layer below your line art.
- Paint. Strokes appear only inside the selection, and the diagonal hatching marks the protected area.
- Tap the Select tool again to exit selection mode.
The invert trick for cleaner edges
Selecting the inside region can leave a thin gap between your fill and the line, because anti-aliased pixels at the line's edge are partially transparent. To avoid this:
- Use Automatic Selection to tap the area outside the shape.
- Tap Invert. Now the inside and the lines are selected.
- Paint on a layer beneath the line art.
Your color now extends underneath the lines, so the soft edges of the ink blend into color rather than showing a white halo. This also lets you change the line art's blend mode later without a background affecting it.
Troubleshooting common problems
Paint still goes outside the shape. Check that the clipping layer sits directly above the right base layer. If another layer sits between them, the clip may attach to the wrong thing.
The clipping mask shows nothing. The base layer may have no pixels where you're painting, or it may be on the wrong layer. Verify the base has an actual fill.
There's a white or light fringe along the lines. Your fill stops at the line's anti-aliased edge. Use the invert method so color extends beneath the line art.
Alpha Lock paints the wrong areas. More than one element is probably on the same layer. Split elements into separate layers before locking.
Selection fills with color instead of selecting. Turn off Color Fill in the Selection toolbar.
A recommended layer structure
For work that will be revised or animated later, a layered structure like this holds up well:
- Line art (top, optionally Multiply)
- Texture (clipped)
- Highlights (clipped)
- Shadows (clipped)
- Flat color (base shape)
- Background
This keeps every decision reversible. You can change a character's skin tone by editing only the flat layer, and every clipped layer above it still respects the shape.
Taking clean Procreate art into a motion pipeline
If you're a motion designer or animator, Procreate is often where a style frame or character design starts, and After Effects or Nuke is where it ends up. Staying inside the lines matters more here, because sloppy edges show up when art is scaled, keyed, or composited.
A few habits help:
- Keep parts on separate layers. Export your layered artwork so you can rig or animate elements in After Effects. Test how clipping masks and blend modes translate in your target app, since some artists prefer to merge clipped layers into standalone ones before export.
- Paint beyond the edges where it's safe. For elements that will be moved or overlapped, extending color slightly under neighboring parts prevents gaps when they shift.
- Work at a high canvas resolution. Clean edges at a large size give you headroom for scaling in comp.
Quick reference: which method to use
Final thoughts
Coloring outside the lines in Procreate is a layer-structure problem, not a steady-hand problem. Fill your base shapes on their own layers, then add clipped layers for non-destructive shading, Alpha Lock for fast single-layer work, and selections for line art. Build the habit of constraining paint before you start stroking, and you'll spend far less time erasing, with files that are easier to carry into the rest of your pipeline.