Configurable joints Setting limit

Hi is their a way to set a limit on how far it can travel?
i am trying to make a chest of drawers and i dont want the
player to be able to drag the drawer all the way out

Try something like this, it should allow limited movement along the Z axis with a distance of 0.5 you will still need to play around with it a bit to get in just right for your setup.