grab focus progress bar

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By lalel345

how to slide the value of progress bar with the input movement of the mouse.
I use grab focus() and it does nothing

:bust_in_silhouette: Reply From: Calinou

ProgressBar is not meant to be used as an user-draggable slider. Use the HSlider node for that instead.

But then I can’t have a proper gauge without extra coding right? I would have to add some TextureRect whose anchor right is updated to the slider grabber position by code to “fill” the gauge?

Hyper Sonic | 2023-05-17 21:56