can any one help me how to stop the motion of some componet at particular pont or face?

can any one help me how to stop the motion of some componet at particular pont or face?

SolidworksMotion Studies