Interacting with slider using gameobject

Hi, I want to know if it is possible to move the slider using a gameobject like a sphere. Normally you can move the slider using mouse drag, but I want to move a gameobject on top of the handle and be able to move the slider.

How are you moving this GameObject then? You can modify the value of the slider in code, I believe by just setting the slider’s “value” parameter, so that’s likely to be the best approach.

The GameObject will be moved by mouse. I am aware that changing the value will change the position of the handle. I want to know if it is possible to issue a ‘mouse click’ action by the GameObject instead of me clicking the mouse button.