2D Hinge + Slider joing together?

Is it possible to use both these joints together?

I cant seem to get the effect I want which is to simulate something sliding down a rope while swinging back and forth as a hinge joint does.

Never mind. Im so stupid lol. There is no need to have one object behaive like a slider and a hinge. I make 2 objects. Object 1 does the sliding and object 2 is connected to object 1 via hinge. :smile: