How to make horizontal 2D slider joint?

I want to create a slider joint but sliding should be horizontally, but the joint provided by unity slides only in vertical direction. Is there any way to horizontal 2D slider joint? Any help will be gratly appreciatecd.

Oh h, I found the solution. Just to change angle to 90 in 2D slider joint and that make sliding horizontally.