How to Only Draw Within Lines Procreate
StyleFrame Team7 min read
To draw only within lines in Procreate, turn the shape into a boundary the paint can't cross. The three most reliable ways are Alpha Lock on the shape's layer, a Clipping Mask layer above it, or an Automatic selection of the area inside the lines (or outside, then inverted) before you paint. Pick Alpha Lock for quick fills, Clipping Mask when you want to keep the paint editable on its own layer, and Selection when you need to paint under the line art.
Which method should you use?
Method 1: Alpha Lock
Alpha Lock keeps every transparent pixel on a layer transparent, so you can only paint where pixels already exist.
- Put your shape on its own layer (a candy cane, a circle, a character's jacket).
- Swipe right on that layer with two fingers, or tap the layer and choose Alpha Lock. A checkerboard appears in the thumbnail.
- Pick a brush and paint. Nothing lands outside the shape.
This is the fastest option, and it's good for shading and texture on a flat silhouette. The trade-off is that your new color is now part of the shape's layer. If you later want to change just the shading, you can't separate it from the base color. For anything you might revise, use a clipping mask.
Method 2: Clipping Mask
A clipping mask puts the paint on its own layer while still limiting it to the shape underneath.
- Create a new layer directly above the shape layer.
- Tap the new layer and choose Clipping Mask. An arrow appears on the layer.
- Paint on the clipped layer. Strokes only show where the layer below has pixels.
Because the paint is on a separate layer, you can change its opacity, swap blend modes, recolor it, or delete it without touching the base shape. You can stack several clipped layers (base shading, highlights, texture) on one shape.
One caution: if you move or transform the base layer, check that the clipped layers still line up with your intent. A clipped layer follows the pixels beneath it, not a fixed position.
Method 3: Selection (including the invert trick)
Selection works best when your line art is a drawing rather than a filled shape, such as a circle outline, since Alpha Lock and clipping masks only see painted pixels.
A common mistake is tapping Select while on the outline layer and expecting it to select the inside. That selects the painted pixels, which means the outline itself. You want the empty area enclosed by the line.
Selecting the inside
- On the line art layer, tap the Selection tool (the S-shaped icon).
- Choose Automatic mode.
- Make sure Color Fill is off in the bottom toolbar. If it's on, tapping will flood the area with color instead of selecting it.
- Tap inside the shape.
- Switch to a new layer below or above the line art and paint. Depending on your settings, the area outside the selection shows diagonal hatching, and strokes there won't register.
- Tap the Selection icon again to exit when you're done.
Selecting the outside, then inverting
Tap the outside area with Automatic, then tap Invert. The selection now includes the inside and the line itself. The advantage is that your paint extends underneath the line art. With soft or textured ink brushes, anti-aliased edge pixels can otherwise leave tiny uncolored fringes between your fill and your line. Painting under the line avoids that, and it lets you change the line layer's blend mode later without a halo.
Method 4: Reference layer plus Color Drop and Alpha Lock
For clean flat color from closed line art, combine three features:
- Tap the line art layer and choose Reference.
- Create a new layer below it.
- Drag a color from the color disc into a closed area (Color Drop). Procreate uses the reference layer to decide where the fill stops.
- Alpha Lock the fill layer, then shade or texture over that flat color without leaving the shape.
If the fill floods the whole canvas, there's a gap in your lines. Close the gap. This approach also solves the "two colors on either side of a dividing line" problem: put the divider on the reference layer, fill each side on its own layer, then Alpha Lock each fill layer.
Cut and paste a shape out of a layer
You can also physically separate the shape's contents.
- Select the area you want with Automatic.
- Go to the layer that holds the paint.
- Use Cut & Paste to move only the selected pixels onto a new layer.
This is useful when you've already painted over the lines and want to carve the inside area out of a larger fill, such as pulling the white stripes off a candy cane. You end up with the isolated pixels on a fresh layer you can transform, recolor, or merge.
Protect the line art while you paint
A different problem looks similar: you aren't trying to stay inside a shape, you're trying not to damage your lines.
- Lock the line art layer. Swipe left on the layer and choose Lock.
- Paint on a layer set to Multiply above the line art so the lines stay visible through the color.
- Paint on layers below the line art when you want colors to sit behind the ink.
None of these constrain your brush, but they stop accidents from becoming permanent.
Troubleshooting
- Paint is still crossing the line. You may be painting on the line art layer instead of a separate layer, or Alpha Lock is on for the wrong layer. Check which layer is active.
- Automatic selection grabs too much. Gaps in the outline let it leak. Close the gap.
- Selection shows no diagonal lines. Automatic selection may show a blue tint or inverted colors instead of hatching, and the visibility of the diagonal lines can be adjusted in the settings. Confirm Color Fill is off, then check that the correct layer is active.
- Unpainted fringe pixels along the line. Paint under the line using the inverted-selection method, or put the fill on a layer below and let the line sit on top.
Where this fits in a motion pipeline
Procreate is often the place where motion designers build style frames, storyboard panels, or hand-drawn elements before they go into After Effects. The constrained-painting methods above matter there because clean, separated layers are easier to animate and composite. A few habits make the handoff smoother:
- Keep base shapes, shading, and line art on separate layers instead of flattening them.
- Name your layers before export so they map cleanly into After Effects comps.
- Use clipped layers for shading so you can animate or adjust them independently.
- Export at the highest resolution you'll need so you aren't scaling up later.
If your goal is to turn a few finished Procreate frames into moving footage, is worth considering as the next step. Check its site for current features and availability.
The Procreate techniques above still matter in that workflow. Cleanly separated, carefully constrained artwork gives you better reference and keyframes to feed into any downstream tool, and you stay in control of the look instead of fixing it afterward.
Quick recap
- Alpha Lock: fastest for filling or shading a single shape on its own layer.
- Clipping Mask: best when you want paint on a separate, editable layer.
- Automatic Selection: the right choice for outline-only drawings, especially with Invert to paint under the lines.
- Reference + Color Drop: ideal for flat colors from closed line art.
- Cut & Paste from a selection: useful for isolating pixels you already painted.
Learn those five and you can keep strokes inside any boundary in Procreate, with the layer structure you need when the artwork moves on to animation or compositing.