How to Stay Inside the Lines on Procreate
StyleFrame Team7 min read
The reliable way to stay inside the lines in Procreate is to constrain paint to a shape rather than relying on a steady hand. Use the Automatic Select tool to select the area, or select the outside and tap Invert, then paint on a layer below your line art. Clipping Mask and Alpha Lock do the same job without a live selection. A Reference layer plus ColorDrop gives you clean flat fills.
Each method makes a different trade-off between flexibility, edge quality, and how much cleanup you'll do later, so it helps to know which to reach for.
Method 1: Automatic Selection
Selection is the method most people mean when they say "lock paint inside a shape," and it's where most beginners trip up. Tapping Select on a layer doesn't select the empty space inside your outline. It selects the pixels that contain paint, which is the line itself. What you need is the empty interior.
- Put your line art on its own layer.
- Tap the Select tool (the S-shaped icon) and choose Automatic.
- Make sure Color Fill is off in the bottom toolbar. If it's on, the tool will flood the area with color instead of selecting it.
- Tap inside the shape. The outside area should now show the diagonal-line selection mask, and the inside should be clear.
- Add a new layer below the line art and paint. Nothing will cross the edge.
- Tap the Select icon again to exit selection mode.
A quirk to expect: with Automatic selection, you often won't see the diagonal hatching until you start using a brush, and how visible it is depends on your selection mask visibility setting. If you tap and nothing seems to happen, switch to a brush before assuming it failed.
The invert variation (for cleaner edges under ink)
Instead of selecting the inside, select the outside of the shape, then tap Invert. Now the selection includes the interior and the line itself.
Why bother? When you paint inside this selection, color also lands underneath the line art. That matters because some ink brushes have soft or semi-transparent anti-aliased edges. If your fill stops exactly at the line's edge, those partially transparent pixels can stay unpainted and reveal a sliver of white or whatever sits behind them. Painting under the line closes that gap. It also lets you change the blend mode of the line layer later without worrying that background color is bleeding through in odd ways.
Use the inside-only selection for quick jobs. Use the invert approach when the line art is final and you care about edge quality.
Method 2: Clipping Mask (non-destructive and flexible)
A clipping mask makes one layer's content visible only where the layer beneath it has pixels.
- Draw or fill your base shape on its own layer (a solid silhouette works best).
- Add a new layer above it.
- Tap the new layer and choose Clipping Mask.
- Paint freely. Anything outside the base shape is hidden, not erased.
The big advantage is that nothing is destroyed. You can move, recolor, or delete the shading layer, and you can paint right off the edge without worrying about it. The trade-off, which some illustrators dislike, is that the clipped layer stays tethered to its base. If you want to move the shape, you need to move both, and merging requires a deliberate step.
Method 3: Alpha Lock (good for single layers)
Alpha Lock restricts painting to pixels that already exist on a layer.
- Select the layer containing your shape.
- Swipe two fingers to the right across the layer in the Layers panel. A checkerboard pattern appears on the thumbnail.
- Paint. Color only lands on existing pixels.
This works well when you're coloring a single object on its own layer. The downside is that the color becomes part of that layer. You can't separate the shading from the base without extra steps, and it gets awkward if you later want to change the shading independently. Use it for quick work where you won't need to revisit the colors.
Method 4: Reference layer + ColorDrop (clean flat fills)
For coloring-book style work, where you want flat areas split by a line, combine a Reference layer with ColorDrop.
- Draw your dividing lines or outlines on Layer 1.
- Open the Layers menu, tap Layer 1, and choose Reference.
- Create Layer 2 and use ColorDrop to drop a base color into one region. Because Layer 1 is the reference, the fill respects its lines.
- Alpha Lock Layer 2 (two-finger swipe right) and paint shading and variation over that fill. The paint can't cross the original region.
- Repeat on a new layer for each additional region.
- Merge layers when you're done if you want a single layer.
This keeps the line art editable, since you can alter or smudge the line layer afterward while the colors sit on separate layers. It's also the best route when you need multiple shades in each region without erasing around the edges.
If your ColorDrop floods beyond the shape, the line probably has a gap. Close the gap with a brush.
Method 5: Cut and paste from a selection
Another approach: select an area on one layer, then use Cut & Paste or Copy & Paste to move that region onto its own layer. It's useful when you want to carve a color out of an existing flat, for example isolating the white stripes on a candy-cane shape so you can adjust them independently. It's less about constraining a brush and more about producing separate, tidy layers you can recolor or merge later.
Which method should you use?
Common problems and fixes
Nothing is constrained. You probably selected the layer contents instead of the empty interior. Use Automatic and tap inside the shape, or tap outside and Invert.
The shape fills with color when you tap. Color Fill is on. Turn it off in the bottom toolbar.
White halos around the line. Your fill stops at the edge of the line and doesn't cover the anti-aliased pixels. Use the select-outside-and-invert technique so paint goes underneath the lines.
Selection leaks across the shape. The outline probably has a gap. Close it with a brush on the line layer.
Colors can't be edited afterward. You used Alpha Lock on a merged layer. Switch to a clipping mask or separate fill layers next time.
Getting Procreate art into a motion pipeline
If you're a motion designer using Procreate for style frames, character art, or textures, keeping paint inside the lines isn't only cosmetic. It determines how easily the artwork survives the trip into After Effects or Nuke.
- Keep fills and line art on separate layers. Separate layers give you more control in compositing. You can recolor, animate, or matte elements individually instead of re-cutting a flattened image.
- Paint under the line art. The invert technique covers the anti-aliased pixels along the line, which helps avoid halos when you scale, blur, or composite over a different background.
- Use clipping masks for anything you might animate. Shading that moves independently of its base is much easier to rebuild as a matte in After Effects than baked-in Alpha Lock paint.
- Name your layers. It sounds trivial, but a pile of "Layer 14" items is a time sink once you're in a comp.
Quick recap
- Selection tools constrain paint to the area you select. Select the empty interior (or the outside, then invert), not the line layer itself.
- Inverting the outside selection lets paint sit under the lines, which removes edge gaps.
- Clipping masks are the non-destructive choice.
- Alpha Lock is quick but ties color to the layer.
- Reference + ColorDrop is best for flat, line-separated color work.
Pick one method per job, keep your layers separated, and your artwork will be easy to refine in Procreate and easy to carry into the rest of your pipeline.