moveToMobject method

void moveToMobject(
  1. Mobject target, {
  2. Vector3? alignedEdge,
  3. Vector3? coordinateMask,
})

Implementation

void moveToMobject(Mobject target,
    {Vector3? alignedEdge, Vector3? coordinateMask}) {
  alignedEdge ??= ORIGIN;
  moveToPoint(target.getCriticalPoint(alignedEdge));
}