How would I make this UI thing?

So, I’m making something for my new plugin I’m trying to make this
image
and you will the ability to use it. How would I make that? Because I’ve seen in it in other plugins and it works.

Is that a slider?

Yeah, like the transparency one in objects.

You could detect when the mouse moves and position it correctly.

1 Like

Is there any other way to do it other than that?

Never mind, I found a module for that Thanks @CipherFunctions for trying to help.