Reset with changing values: possible?

Hello
Is there a way to use of changing values like the Button (True/False)?
For example when we use a slider
0 to 1 : blink ‘True/False’ like the Button
1 to 2 : blink ‘True/False’ like the Button
2 to 3 : blink ‘True/False’ like the Button
…etc