Extension and Contraction

You can see there is an extension and contraction of the part. How this operation can be done?

SolidWorks Tutorial #268 : advanced screwdriver bit (PZ2) - YouTube

Time 2.41-2.45

SolidworksGeneral