Using ExposeTransform Based on the Distance Between Two Vertices in Maya

Published on January 07, 2026 | Translated from Spanish
Control of ExposeTransform with locators on mesh vertices

Controlling ExposeTransform Using the Distance Between Vertices

When you want an ExposeTransform to activate based on the distance between two vertices of a mesh, you should not select the face directly or the entire mesh. The solution is to use locators linked to the vertices via pointOnPolyConstraint.

How to Do It Step by Step

  1. Create a locator over each vertex you want to use as a reference.
  2. Apply a pointOnPolyConstraint so that each locator follows exactly the selected vertex of the mesh.
  3. In the ExposeTransform, use these locators as source and reference nodes.

A Detail to Keep in Mind

Do not try to connect the ExposeTransform directly to the vertices, because Maya does not allow using individual vertices as reference nodes in this case. The locators act as visible and measurable markers for the distance, ensuring that the effect triggers correctly without affecting other vertices.