matchCoord method

void matchCoord(
  1. Mobject mob,
  2. int dim, {
  3. Vector3? direction,
})

Implementation

void matchCoord(Mobject mob, int dim, {Vector3? direction}) {
  direction ??= ORIGIN;

  setCoord(mob.getCoord(dim, direction: direction), dim,
      direction: direction);
}