I have a lid support as shown in the attachment. It is a simple mechanism that consists of a concertric axle at one end. When the door is down the bracket helps support the door. When you lift the door up the peg on the door frame end guides the bracket into a retracted position.
I used a width mate to constrain the peg inside the slotted hole. The problem is that I need to constrain it at each end of the slotted hole (it will run right past the ends). not sure what mate to use for that. Any ideas?
Limit Mate distance between the axis of the pin and the axis (temp or created) of the end of the slot.