How to Not Go Over Lines in Procreate
StyleFrame Team6 min read
To keep paint inside the lines in Procreate, put the color on its own layer and restrict it to the shape beneath it. Use Alpha Lock or a Clipping Mask for shading and texture, or select the area outside your line art, invert the selection, and paint or fill inside it. These methods keep paint where you want it, so you don't have to erase the spill by hand.
Why Color Spills Past Line Art in Procreate
Procreate is a raster painter. A brush stroke lands wherever you drag it, and the app has no idea what a "shape" is unless you tell it. Spill happens in three common situations:
- You paint on the same layer as your line art, so there is nothing to protect.
- You fill with ColorDrop and the fill leaks through a gap in the outline.
- You hide the line layer after filling and find pale fringes where anti-aliased line pixels were left unpainted.
Every fix below follows the same idea: let a layer, a selection, or a lock decide where paint is allowed, so your hand doesn't have to.
Method 1: Alpha Lock for Fast Shading and Texture
Alpha Lock freezes a layer's transparency. Paint can only land on pixels that already contain something, so the silhouette stays intact no matter how loosely you brush.
- Keep each shape or character part on its own layer.
- Swipe right on the layer with two fingers, or tap the layer and choose Alpha Lock. The thumbnail shows a checkerboard when it's active.
- Pick a brush and paint. Gradients, speckle, and pattern will stay inside the shape.
Alpha Lock is the quickest option, and it keeps the layer stack tidy because you don't need a clipped layer for each pass. The tradeoff is that it's destructive: the paint is baked into that layer. If you want to adjust the shading later, you'll be repainting it.
Method 2: Clipping Masks for Non-Destructive Shading
A Clipping Mask attaches a layer to the one beneath it. Pixels show only where the base layer has content.
- Draw or fill your base shape on one layer.
- Add a new layer above it and tap it, then choose Clipping Mask.
- Paint with a big brush. Nothing appears outside the base shape.
Because the clipped layer follows the pixels below it, reshaping or erasing part of the base changes what's visible, and you don't need to repaint the shading. You can stack several clipped layers, such as one for shadows, one for highlights, and one for texture, and adjust each one's opacity separately. For work that will go through revision rounds, this is usually a better choice than Alpha Lock.
Method 3: Select Outside the Lines, Then Invert
This is the classic approach for flat color under inked line art, and it fixes the most common beginner confusion. Tapping Select on a line layer selects the line pixels themselves, not the empty area inside a shape, which is why many people find that "nothing happens."
- Tap the Selection tool (the S-shaped icon) and choose Automatic.
- Make sure Color Fill is turned off, otherwise the tool paints the area instead of selecting it.
- With your line layer active, tap the empty area outside your drawing.
- Tap Invert. Now the whole drawing is selected, including the pixels under the lines.
- Switch to a layer below the line art and paint or fill. Paint stays inside the selection.
You can also tap inside a single shape to select just that region, but the invert method has an advantage: because the selection extends under the lines, anti-aliased edge pixels get covered. That prevents the pale halos that show up when you later hide or recolor the line layer. If your line art is spread over several layers, group them, duplicate the group, and merge the copy so the selection reads from a single layer.
When you're done, tap the Selection icon again to leave selection mode.
Method 4: Reference Layer and ColorDrop, Without White Gaps
ColorDrop is fast, but it's sensitive to open outlines and to the threshold setting. A reliable setup:
- Set your line art layer as Reference.
- Create a separate layer for each color area.
- Drag the color swatch into a closed region.
Two common problems and their fixes:
- The fill floods the whole canvas. There is a gap in the outline. Close it with a small brush stroke on the line layer, or use the selection approach in Method 3, which still fills under the lines even if gaps exist.
- White hairlines remain between fills when you hide the lines. Unhide the line layer, turn on Alpha Lock for it, and paint over the lines with the matching fill colors. The line pixels merge into the color blocks. Alternatively, paint blocks of color directly instead of relying on the outline as a barrier.
Raising the threshold to swallow the outline usually causes the fill to leak, so avoid cranking it up as a fix.
Which Method Should You Use?
Habits That Prevent Spills Before They Start
- Separate layers early. Skin, hair, clothing, and background on different layers make every method above easier.
- Name and group layers. If you bring your art into After Effects, tidy groups give you a layer structure you can actually work with.
- Check your selection mode. Most "it doesn't work" problems come from Color Fill being on, the wrong layer being active, or the selection being made on the fills instead of the lines.
- Zoom in and check edges. Spill and fringing are easy to miss at fit-to-screen, and they become obvious once frames are scaled or composited.
Taking Clean Procreate Art Into a Motion Pipeline
For motion designers, Procreate is often where styleframes, character poses, and textures begin before moving into After Effects, Cinema 4D, or Nuke. Clean layer structure matters here. A shape with proper clipping and no stray pixels is far easier to rig, matte, or animate than a flattened painting with cleanup hiding in the edges.
If you're extending those drawings into moving footage, Styleframe (styleframe.ai) can sit beside Procreate as a controlled, reference-driven step. As with any generative step, you should still review the output frame by frame, since your line discipline in Procreate will be what you judge it against.
FAQ
What's the difference between Alpha Lock and a Clipping Mask? Alpha Lock restricts painting on the same layer, so the paint becomes part of that layer. A Clipping Mask uses a separate layer that's limited by the one below, so you can edit, hide, or change its opacity without touching the base.
Why does Select not constrain my brush? Selecting from a line layer picks up the line pixels, not the empty area inside. Use the Automatic selection tool on the area you want, or select the outside and invert.
Why do I see white lines between my fills? Anti-aliased line pixels weren't covered by color. Paint over the lines with Alpha Lock on, or use the invert-selection method so the fill extends underneath the lines.
Can I use these methods for animation frames? Yes. Keeping the same layer structure on every frame helps keep the shading and fills consistent across frames.