How can I get the Mathf.Clamp() function stay away from a middle number.

I need the Mathf.Clamp() to go (min -4, max 4) but also for there to be a middle min and max like (min -4, middleMin -0.25f, middleMax 0.25f, max 4)

Please deliver some more context and maybe the relevant code you’re using.

Depending on your application you could solve this by explicitly setting the value to middlemin/max, i.e.

if(num>middle_min && !(num>middle_max){

and the equivalent for middle_max.