Slide Value Input Field UI Element?

In my Unity app, I need a UI element that allows the user to adjust a float value. I know I can just use an input field for this, but It would be easier to adjust if the user can click and drag left or right to increase or decrease the value (In addition to setting it manually)–exactly how the Unity Editor float values work in the inspector.

I was wondering if anyone has created anything similar and would be willing to share, or if anyone has any ideas about how to build something like this.
Thanks!

You can intercept the ui events and do it your self.

the example for dragging a ui element could work for you

you don’t need to move the UI element just register the dragging and change your value based on the horizontal (or vertical) mouse / input movement.

Interesting, I will look into that. Thanks for the suggestion!