Controlling capillary forces involves modifying the surface properties of the materials involved. Techniques such as surface patterning, chemical modification, and the use of coatings can tailor the wettability and adhesion properties of surfaces, thereby influencing the magnitude and direction of capillary forces.