How to Use Depth Controls in Photoshop Puppet Warp

Adobe Photoshop's Puppet Warp tool uses Pin Depth controls to establish a front-to-back stacking order when distorted portions of an image overlap. When bending, twisting, or repositioning limbs or objects, sections of the underlying triangular mesh frequently cross over one another. Pin Depth controls solve this spatial conflict by allowing you to manually designate whether an active pin—and its associated mesh area—sits above or beneath the intersecting sections.

The Mechanism of Pin Depth

When you apply Puppet Warp to a layer or Smart Object, Photoshop wraps the subject in a dynamic, polygonal mesh. Manipulating this mesh requires placing pins to anchor or deform specific regions. When two regions cross, Photoshop automatically predicts an initial overlap priority based on the original structure of the mesh.

To override this default behavior, the Options bar provides two dedicated Pin Depth buttons whenever a pin is selected:

  • Send Backward (Set pin depth to behind): Drops the mesh section governed by the active pin behind the overlapping geometry.
  • Bring Forward (Set pin depth to in front): Raises the mesh section governed by the active pin in front of the overlapping geometry.

How Stacking Order is Calculated

Pin Depth functions similarly to layer stacking, but operates locally within the single mesh instance.

  1. Pin Influence Radius: Each pin exerts a field of influence over the surrounding triangles in the mesh. Raising or lowering a pin's depth affects the cluster of polygons attached to that pin's transform area.
  2. Relative Layering: The depth buttons do not assign an absolute 3D coordinate; instead, they shift the relative draw order of overlapping mesh fragments. Clicking "Bring Forward" sequentially promotes the active mesh segment above conflicting segments until it sits at the desired visual hierarchy.
  3. Boundary Rendering: As the stacking order shifts, Photoshop interpolates the pixel edges along the mesh boundary, creating a clean composite without requiring manual cutouts, layer duplication, or masking.

Managing Complex Overlaps

To achieve clean visual results when managing overlaps:

  • Anchor Adjacent Areas: Place stabilizing pins around the non-moving regions before adjusting depth. This confines the depth shift exclusively to the segment you intend to move.
  • Adjust Mesh Density: Use the Density setting in the Options bar to increase the number of mesh points. A finer mesh gives the depth controls higher precision along overlapping contours, preventing unnatural edge clipping.
  • Mesh Expansion: If edge pixels from the underlying section bleed into the foreground section, decrease or increase the Expansion slider to pull the mesh boundary tightly around the subject silhouette before applying depth changes.