How to Not Go Outside the Lines in Procreate
StyleFrame Team6 min read
To keep color inside the lines in Procreate, put your paint on a separate layer from the line art or base shape and constrain it with a Clipping Mask, Alpha Lock, or a selection. A Clipping Mask is the most flexible because it follows the layer below and stays editable if the shape changes. Alpha Lock is the fastest option for quick shading on a single layer, and a selection is the safest option when you need paint to tuck under the linework.
Why Procreate paint escapes the lines
Procreate is a raster painter. A brush stroke lands on whatever layer is active and has no idea where your shape ends. That means "staying inside the lines" is a layer-structure problem rather than a brush-control problem. If you rely on a steady hand, every overshoot becomes an undo or an eraser pass.
The fix is to tell Procreate where paint is allowed to land before you paint. There are three reliable ways to do it, each with different trade-offs for editability, file organization, and cleanup.
Method 1: Clipping Mask (best for editable shading and texture)
A Clipping Mask limits a layer's visible pixels to the opaque pixels of the layer directly beneath it.
- Draw your base shape on its own layer, such as a flat-color silhouette of a character's jacket.
- Add a new layer above it.
- Tap the new layer and choose Clipping Mask.
- Paint with any brush, at any size. Nothing shows outside the shape below.
The main advantage is that the relationship is live. If you reshape or erase part of the base layer, the clipped layers adapt automatically, so you never repaint shadows because the silhouette changed. You can also stack several clipped layers, for example one for shadows, one for highlights, and one for texture. Each keeps its own opacity.
The downside is that clipped layers stay "tethered." If you move the base layer without moving the clipped ones, they won't line up. Select and transform them together, or group them first. Group the base and its clipped layers so the stack stays readable.
Method 2: Alpha Lock (best for fast, single-layer detail)
Alpha Lock freezes the transparency of a layer. Any pixel that is currently transparent stays transparent, so you can only paint where content already exists.
- Put the shape on its own layer.
- Swipe right on the layer with two fingers, or tap the layer and choose Alpha Lock. The layer thumbnail shows a checkerboard.
- Paint, texture, or gradient freely.
Alpha Lock is the quickest route when you want to recolor a flat shape, add a gradient, or drop in a pattern. You also avoid building a tall stack of clipped layers.
The trade-off is that painting is destructive to that layer. The color is baked into the same pixels as the shape, so changing your mind later is harder than with a clipped layer. Use Alpha Lock when you're confident, and a Clipping Mask when you want to keep adjusting.
Method 3: Selection (best for coloring line art)
When you're coloring inked line art, a selection is often the most dependable tool, and it can solve a problem the other two don't: gaps between paint and line.
Select the area inside the lines
- On the line art layer, tap the Selection tool (the S-shaped icon) and choose Automatic.
- Make sure Add is active and Color Fill is off. Otherwise the tool floods the area with color instead of selecting it.
- Tap inside the shape you want to color.
- Create or switch to a new layer below the line art and paint. The selection restricts the brush, and the unselected area shows diagonal marching lines.
- Tap Selection again to exit when you're done.
Select the outside, then invert
Selecting the empty area outside the shape and tapping Invert gives you the shape plus the line pixels. Painting through that selection puts color underneath the lines themselves. That helps with anti-aliased edge pixels, which otherwise leave a thin sliver of unpainted canvas between fill and line. It also lets you change the line art's blend mode without a visible halo.
Selections have one limitation: the edge is a hard boundary, and it disappears when you deselect. If you expect to revisit the shape, a Clipping Mask is more forgiving.
Which method should you use?
You can also mix them. A common setup is a flat base fill for each element, then clipped layers above each fill for shadows and texture.
Cut and paste for more control
Another option is worth knowing. You can select a shape, then cut and paste from a paint layer. That carves the portion inside the selection onto a new layer. It's handy when you've already painted loosely and want to separate what falls inside the lines from what doesn't, while keeping the result as a standalone layer.
Habits that prevent overshooting
- One element per layer. Keep skin, clothing, hair, and props separate. Clipping and Alpha Lock only work well when shapes are isolated.
- Name and group layers. A base fill with three clipped layers should be a group labeled for what it is.
- Close line art gaps early. Fills and selections both struggle with open shapes.
- Keep paint layers separate from line art. Don't merge until you're certain, since merged layers can't be reshaped.
- Work larger than the final. Edge artifacts are less noticeable if the canvas resolution is high enough for the delivery size.
Cleaning up for animation and motion pipelines
For motion designers and animators, tidy edges matter more than they do in static illustration. A stray pixel on a single frame can show up as flicker once frames play back. Clipped and locked layers help because each frame's fill is consistent with its base shape. If you plan to composite in After Effects or Nuke, keep the structure separate (line art, color, shadow) and export layers as transparent PNGs so you can adjust each element downstream.
If the Procreate artwork is a source, not the final, an AI video tool can extend it without throwing away your drawing decisions. is an AI video and motion tool. Styleframe doesn't replace the lines you draw in Procreate. It gives those drawings somewhere to go.
Troubleshooting common problems
My Clipping Mask isn't working. Check that the layer is directly above the base layer, with no unclipped layer in between, and that the base layer actually has opaque pixels.
Selection isn't constraining my brush. Confirm you've selected the area you want to paint in and not the empty space. Also check that you're on the intended layer and that Color Fill is off.
There's a pale halo around my fill. Use the invert-selection method to paint under the lines.
Alpha Lock paint is hard to undo later. Switch to a Clipping Mask on the next shape so the paint lives on its own layer.
The takeaway
Staying inside the lines in Procreate comes down to layer structure. Use Clipping Masks when you want shading you can revise, Alpha Lock for quick work on a single layer, and selections when you're coloring over inked lines. Pick the method based on how likely you are to change your mind, then keep your layers clean so the artwork can move into whatever animation or compositing pipeline comes next.