How to tell if a UI slider is being clicked and draged.

I need to tell if a UI slider handle is selected, in script. Can anyone give me any hints?

Register to it’s events