can you set a 'disable' on a slider

I would like to turn sliders on the screen on and off as different user actions occur - I was looking for a “myslider.isEnabled = false” type of property, but don’t see it.  

Is there a way to make this same type of action occur?  I just need to prevent the slider from being changed when not active, no need to worry about the value once inactive.

Thanks!

I’ve never used sliders but perhaps you can place an invisible rect over the top of it and prevent the click propagation? 

I don’t believe there is a way with the widget. @JonPM’s method will work.

Rob

Excellent idea, I will give it a shot.

Thank you very much!

I’ve never used sliders but perhaps you can place an invisible rect over the top of it and prevent the click propagation? 

I don’t believe there is a way with the widget. @JonPM’s method will work.

Rob

Excellent idea, I will give it a shot.

Thank you very much!