A shadow may look right until you decide the object needs a different color. If both changes were painted onto the same layer, separating them becomes another drawing task. In Procreate on iPad, keep the base shape and the added shading apart when you expect to revise either one. A small layer setup is enough for a flat illustration, sticker or icon.
Start with a filled shape on its own layer
Put the object you want to shade on a separate layer and give it a recognizable name, such as Mug base. Keep the background separate too. A clipping layer follows the content of the layer underneath it, so an opaque background on that same base layer would give the shadow a much larger visible area than the mug.
Check the silhouette before shading. If its edge is incomplete or includes stray pixels, correct those on the base layer first. The clipping relationship uses the shape you actually painted; it does not infer the outline you intended.
Paint the shadow on a clipped layer
Add an empty layer directly above the base. Tap that upper layer to open its options and choose Clipping Mask. Paint a short test stroke across the edge of the object. The paint remains on the upper layer, while the base controls where it can be seen. Name this layer Mug shadow so you can distinguish it from the flat color later.
The guide to working with layers and masks in Procreate compares these methods. Alpha Lock restricts painting to existing pixels on the same layer, so those pixels change directly. A Clipping Mask keeps the new paint separate. Use the latter when you want to replace a shadow without repainting the base.
Use a layer mask when the edge needs to change
Shading and changing the silhouette are different jobs. To hide part of the base without erasing it, tap the base layer and choose Mask. Select the attached mask thumbnail before painting: black hides the underlying artwork, white reveals it again, and gray gives partial visibility. Selecting the artwork thumbnail instead changes the artwork itself.
For example, a mask can shorten the visible rim of a drawn cup while preserving the pixels beneath it. Review the clipped shadow after changing that edge, because the base shape also determines which parts of the shadow are visible. Keep changes modest until you have checked both layers together.
Save the editable version before making a delivery copy
Keep the native artwork through Actions > Share > Procreate. The .procreate format preserves layers, masks and effects. Make a separate PNG for sharing a finished flat image; it can retain transparency, but it does not keep this editable layer structure. Open the exported file and check the edges at the size it will actually be used.
The independent Procreate Field Guide has further drawing and export references if another step needs attention. Keep the base, shadow and mask named by purpose, and avoid merging them until you no longer need to adjust them separately. Save an editable copy before merging anything important.