How to Stay in Lines Procreate
StyleFrame Team6 min read
The most reliable way to stay inside the lines in Procreate is to select the area first (Select > Automatic, then tap inside the shape), because paint can't leave an active selection. If you'd rather not paint on the shape's own layer, fill the shape and put a Clipping Mask or Alpha Lock on top of it. For flat color, set your line art as a Reference Layer and ColorDrop onto a separate layer underneath.
Each method suits a different job, and each has a failure mode that makes strokes spill or leaves ugly edges. Below is how each works, when to use it, and how to fix the usual problems.
Which method to use
Method 1: Automatic Selection (fastest containment)
This is the answer most people are looking for. A selection acts as a mask, so any stroke outside it simply doesn't register.
- Select the layer that contains your closed shape.
- Tap the Select tool (the S icon) and choose Automatic.
- Tap inside the shape. Drag your stylus or finger to the right to raise the threshold until the whole interior is selected, but stop before it spills into the background.
- Make sure Color Fill is off, or Procreate will flood the area instead of just selecting it.
- Pick a brush and paint. Strokes stay inside the selected region.
- Tap the Select tool again to exit selection mode when you're done.
Two things trip people up. First, tapping Select on a layer doesn't select the empty space inside a drawn circle. It selects pixels that contain paint, so you have to use Automatic and tap the interior. Second, the visual feedback varies. Depending on your settings, you'll see diagonal hatching over the unselected area, or only a tint. If you can't see the mask, check your selection visibility settings.
Painting directly on a layer with a selection is destructive if the layer holds your line art. Paint on a new layer instead. Selections persist across layers, so you can make the selection on the line art layer, switch to a fresh layer below it, and paint there.
Method 2: Select outside, then Invert (cleanest edges)
If you select the interior directly, the selection stops at the edge of the line. Anti-aliased pixels at the boundary can stay unpainted, which leaves a faint light fringe between your color and your ink.
The fix is to flip the process:
- With the line art layer active, choose Select > Automatic.
- Tap the area outside the shape (the background).
- Tap Invert in the bottom toolbar. The interior and the lines are now selected.
- Switch to a new layer beneath the line art and paint.
Because the selection includes the lines, your color extends underneath them. That covers the soft edge pixels and lets you change the line layer's blend mode later (Multiply, for example) without a background showing through. This is a common trick in professional coloring workflows, and it's worth making your default.
Method 3: Reference Layer + ColorDrop (flat fills)
For flat color, this is faster and fully non-destructive.
- Keep your line art on its own layer.
- Tap the line art layer and choose Reference.
- Create a new layer below the line art for color.
- Drag a color from the color picker into a closed shape. ColorDrop reads the reference layer to decide where the fill goes, but writes the color to your active layer.
The requirement is that shapes must be fully closed. A single gap lets the fill leak across the page. If it does, close the gap with a brush.
Put different elements (skin, hair, clothing) on separate layers. That way each stays editable and each can be used as a containment layer for the next step.
Method 4: Alpha Lock and Clipping Masks (shading inside filled shapes)
Once a shape is filled with a base color, you can lock painting to it in two ways.
Alpha Lock: Tap the layer and choose Alpha Lock. Only pixels already on that layer can be painted. It's quick, but you're editing the base color layer directly, so changes are permanent unless you undo.
Clipping Mask:
- Create a new layer directly above the filled shape layer.
- Tap the new layer and choose Clipping Mask.
- Paint, shade, or add texture. It only appears where the base layer has pixels.
Clipping masks are the better choice when you'll revisit the work. You can delete, hide, or change the blend mode of the clipped layer without damaging the base. You can also stack several clipped layers (shadows, highlights, patterns) over one base.
Method 5: Multiply layer and locked line art (loose painting)
For an expressive, painterly look, you don't need containment tools at all. Lock the line art layer so you can't accidentally edit it, add a new layer above it, and set that layer to Multiply. Your strokes blend with the lines instead of covering them, so a slightly messy edge is hidden by the ink beneath. It takes a steadier hand than the selection methods, but it feels more natural. Turn on stabilization if your strokes are wobbly.
Troubleshooting: why your color still goes outside the lines
- You're on the wrong layer. The selection or Reference Layer is set up on one layer, but you're painting on another. Check the highlighted layer before every stroke.
- Color Fill is enabled. Automatic Selection fills the area with color instead of selecting it. Turn it off.
- Your shape isn't closed. ColorDrop leaks and Automatic Selection can spill past the shape. Zoom in and close gaps.
- Threshold too high. The selection jumps from the interior to the background. Reduce it slightly.
- There's a halo along the lines. Use the select-outside-and-invert technique so color extends beneath the line.
- Strokes don't appear. An old selection may still be active and masking the area you want to paint. Tap the Select tool to deselect.
Choosing a workflow that scales
A few habits make any of these methods more reliable:
- Separate line art, flats, shading, and effects into their own layers from the start.
- Name your layers. On a complex illustration, this saves a lot of time.
- Close your shapes while sketching, even if it feels fussy. It pays off when filling.
- Use Duplicate before destructive operations like Alpha Lock painting.
Quick recap
- For fast containment, use Select > Automatic, tap inside the shape, and paint on a new layer.
- For the cleanest edges, select the outside and invert.
- For flat fills, set a Reference Layer and use ColorDrop on a layer beneath.
- For shading and texture, use a Clipping Mask (preferred) or Alpha Lock.
- When something leaks, check the layer, Color Fill, closed shapes, and threshold.
Pick the method that fits how permanent you want the result to be. Selections are quick, clipping masks are flexible, and reference fills are fastest for flats.