← All chapters

13 / Advanced

Masks, clipping and alpha lock

Limit drawing or visibility while keeping room for later changes.

Where to start

Layers → select a layer → Alpha lock, Clipping or mask actions.

Platforms and interface differences

One handbook for Android · iOS · HarmonyOS. The core workflow is shared. Button positions, system file pickers and stylus capabilities vary by platform, screen and version. App captures are labeled Android or iOS. Numbered markers match the controls and explanations; workflow diagrams are labeled separately. Follow the controls in your installed version.

Follow the screen

Numbers identify controls or interaction areas. Expand each screen for instructions; open the image to enlarge it. Positions can differ by platform.

01 Identify targets in Layers Android
Identify targets in Layers: 1. Add layer; 2. Selected layer; 3. Visibility; 4. Layer adjustments
Android · Actual app screen with numbered annotations. Open for full size.
  1. Add layer

    Add a blank layer to keep line art and color separate.

  2. Selected layer

    Tap a row to select the editing target; the highlighted border marks it.

  3. Visibility

    Toggle the eye icon to hide or show the layer without deleting it.

  4. Layer adjustments

    Inspect layer adjustments and check the selected layer before acting.

02 Protection and masks in Layer settings iOS
Protection and masks in Layer settings: 1. Alpha lock; 2. Edit mask; 3. Clipping; 4. Duplicate layer
iOS · Actual app screen with numbered annotations. Open for full size.
  1. Alpha lock

    Restrict painting to existing pixels on this layer; check the selected layer first.

  2. Edit mask

    Enter mask editing, then check whether the mask or original layer is active.

  3. Clipping

    This is separate from mask editing; check the receiving layer below.

  4. Duplicate layer

    Keep a copy before trying complex edits.

1. Distinguish the three controls

  1. Alpha lock recolors existing pixels; clipping depends on the layer below; a mask separately controls visibility of its own layer.
  2. Paint an opaque shape on a practice layer and try each method on copies instead of your only original.
  3. Check whether you are editing layer content or the mask thumbnail before drawing. These are different targets.

2. Create a clipping relationship

  1. Create a layer above the base color and enable clipping for the upper layer through its layer actions.
  2. Draw across the base shape on the upper layer and check whether it is visible only within the base.
  3. Changing an empty base, its content or the layer order can change clipping. Check the dependency before merging.

3. Add and edit a layer mask

  1. Add a mask from the target layer’s actions and select the mask as the editing target before drawing.
  2. With a conventional luminance mask, lighter areas reveal and darker areas hide. Try black and white and inspect the result.
  3. Disabling, deleting and applying a mask are different operations. Applying combines the effect with content, so keep a copy first.

4. Keep a structure you can revisit

  1. For a temporary comparison, toggle visibility or mask enablement instead of applying or deleting it immediately.
  2. Check appearance for image export, then separately check PSD mask and blend compatibility when continuing in another app.
  3. If you paint on layer content by mistake, undo and select the mask target before continuing.
Supplement: workflow illustration
Workflow illustration: layer mask workflow
Workflow illustration: layer mask workflow · A step diagram, not an app screenshot.

Visibility and drawing constraints

Swipe the table sideways to see all columns.

MethodDepends onWatch for
Alpha lockExisting pixels on the current layer.It generally does not create a new silhouette in empty areas.
ClippingThe relationship with the lower layer.Recheck after reordering or changing the base.
MaskA separate visibility control for its layer.Select the mask rather than content before painting.
Apply maskCombines the current effect with content.Keep an editable copy before applying.

Troubleshooting

Why did painting black add a black line?

You may be editing content. Undo, then select the mask target.

Why is clipped content invisible?

Check base content, order and visibility, then the upper layer’s opacity.

Try it yourself

Paint a solid circle and add a clipped shadow. On a copy, mask out a small part. Compare disabling the mask with applying it.

Need help? Send feedback →