User blog comment:Teeterboy/Sliders?/@comment-45356666-20200517012006/@comment-38943763-20200518120511

That would probably be a good idea. I remember pistons could be painted different greyscale colors to change their length, maybe sliders could have that to change their resistance? limiting the length is a simple job of putting blocks at the end to make it stop moving.