oh i miss understood clamp function then, is there a function for snapping a value between a min and max?