in static simulation how to make roller support in one direction only Example ( -x) only and free in the (+x)

in static simulation how to make roller support in one direction only Example ( -x) only and free in the (+x)