How to Stay Inside the Liens in Procreate
StyleFrame Team7 min read
To stay inside the lines in Procreate, select the area you want to paint with the Automatic Selection tool, or lock the base shape with Alpha Lock or a Clipping Mask, and then paint. For line art, set the drawing as a Reference layer and use ColorDrop on a layer beneath it. Which method is best depends on whether you want to paint on a separate layer, keep your edits non-destructive, or cover the anti-aliased pixels under the line.
The quick answer: pick a method by the job
Method 1: Automatic Selection
This is the most direct way to constrain a brush, and the one most people try first.
- Select the layer that contains your line art.
- Tap the Select (S) icon in the top toolbar and choose Automatic.
- Tap inside the shape. Drag your stylus left or right to adjust the selection threshold until the whole area is covered without leaking past the line.
- Make sure Color Fill is off in the bottom toolbar. If it's on, the tool fills the area with your current color instead of just selecting it.
- Switch to a layer below the line art, pick a brush, and paint.
- Tap the Select icon again to leave selection mode when you're done.
Automatic Selection doesn't show diagonal hatching the way a freehand selection does. You'll see a blue tint or inverted colors on the selected area, and the hatch lines appear once you pick a paint tool. If nothing seems constrained, check which layer is active. Tapping Select on a layer only selects that layer's painted pixels, which is why a circle outline selects the line itself and not the empty space inside it.
Method 2: Select the outside, then invert
If you tap the empty space inside a shape, the selection stops at the line. Anti-aliased edge pixels, the semi-transparent ones that soften the line, can then stay unpainted and leave a pale halo when you recolor or change the blend mode.
The fix is to flip the approach:
- With Automatic Selection active, tap the area outside the shape.
- Tap Invert in the bottom toolbar. The shape and its outline are now selected.
- Paint on a layer beneath the line art.
Your color now extends under the line itself, so the soft edge pixels sit over paint and not over transparency. This matters when your line art uses a textured or tapered ink brush, or when you plan to switch the line layer to Multiply or recolor it later. Use it whenever the line layer will be adjusted after the fills are done.
Method 3: Reference layer and ColorDrop
For flat color blocking, you don't need to select anything manually.
- Open the Layers panel and tap the line art layer, then choose Reference.
- Create a new layer below the line art and make it active.
- Drag a color from the Color Disc into a closed shape. ColorDrop fills the region as defined by the reference layer, but the color is written to your active layer.
The one hard requirement is that your lines are closed. A gap in the line can let the fill spill outside the shape. If that happens, undo, zoom in, and patch the gap on the line layer.
Because each shape or character part can go on its own layer, this method pairs well with the next two.
Method 4: Alpha Lock
Alpha Lock restricts painting to pixels that already exist on a layer.
- Fill your shape with a base color on its own layer (ColorDrop works well here).
- Turn on Alpha Lock for that layer.
- Paint. Color only lands where the layer already has pixels, so highlights, gradients, and textures can't escape the silhouette.
The trade-off is that you're painting directly on the base layer. Mistakes aren't isolated, so duplicate the layer before you start if you might want the flat version back.
Method 5: Clipping Mask
A Clipping Mask gives you Alpha Lock's behavior while keeping edits separate.
- Put the base shape on its own layer.
- Add a new layer directly above it.
- Tap the new layer and choose Clipping Mask.
- Paint on the clipped layer. Your strokes stay within the base shape.
This is the more production-friendly option. You can change the base shape later, adjust the clipped layer's opacity or blend mode, or delete the shading entirely without touching the fill. Stack several clipped layers for shadows, highlights, and texture, and group them per element so your layer structure stays readable.
Method 6: Multiply layers for loose coloring
If you don't want any masking at all, put your line art on its own layer, add a color layer underneath, and paint freely. A color layer set to Multiply above the line art lets the lines show through. You'll still have to control the brush yourself, but it's fast for sketches and a good fit when you'd rather keep the line weight untouched.
Troubleshooting common problems
The fill spills outside the shape. There's a gap in your line. Zoom in and close it, or use a different method that doesn't depend on a closed shape, such as Alpha Lock on a pre-filled silhouette.
There's a white or pale halo around the edge. The selection stopped at the line and left anti-aliased pixels unpainted. Use the select-outside-and-invert method, or paint a slightly oversized base underneath the line art.
The selection leaks past the line. Your threshold is too high. Lower it until the selection holds, then check the edges while zoomed in.
Painting isn't constrained at all. You may have tapped Select on the wrong layer, left Color Fill on, or exited selection mode. Reselect, confirm the mask is showing, and check the active layer.
Small specks remain unpainted in a shape. The selection missed detail inside the area. Switch to Add mode and tap the leftover pockets, or fill the shape on a base layer first and use Alpha Lock or a Clipping Mask.
Staying inside the lines across animation frames
If you're coloring a frame-by-frame sequence, treat each frame as its own set of layers:
- Keep line art, flat color, and shading on separate layers per frame, so the same structure repeats and you can fix problems per layer.
- Prefer ColorDrop with a Reference layer for flats. It's repeatable, and it avoids re-tapping thresholds on every drawing.
- Close gaps while you draw the line art. It takes seconds on the line pass and saves repeated fixes on every frame.
- Export transparent PNGs or flattened frames, and bring them into After Effects, Premiere Pro, or Nuke as an image sequence. Check one early frame at full zoom against your final background to catch edge halos before they multiply across a shot.
Quick checklist before you paint
- Is your line art on its own layer, with closed shapes?
- Did you choose a method that matches the job: selection for speed, Reference + ColorDrop for flats, Clipping Mask for non-destructive shading?
- Is Color Fill off if you only want to select?
- Are you painting on the intended layer, below the lines if you want them to stay visible?
- Did you zoom in to check edges for halos or gaps?
Once the setup is right, a Clipping Mask or Reference layer will keep every stroke inside the lines, so you can spend your time on the drawing itself.