How do you make a number slider that snaps?

lets say you want a slider of 100 unit
but you want the slider to go every 5 values, so:
5, 10, 15, 20, 25…

how can you do it?
from the number slider/edit you can insert functions:
like x*5 , but the slider will go well over 100 unit
you could limit the range to 20

but I think that I saw an easier way, but I don’t remember how

you can “hardcore edit” the slider snapping, something like this

or you can use Rounding methods like Putterfish Round to Factor

image

or even just

1 Like