set motion limits

Can you set limits of free linear motion drag of a component in an assembly?

SolidworksAssemblies