- Home /
The question is answered, right answer was found in comments.
HorizontalSlider?
Is there a way to change the dragged areas color, it might be easier to understand from a picture: 
So what I want is that if the value is 50 then 50% of it should be painted red.
Answer by CHPedersen · Nov 10, 2014 at 02:46 PM
Do you mean like a health bar? Or is this something the user clicks and drags with the mouse? In any case, I think the easiest solution is to superimpose boxes of different sizes, one gray with a fixed size in the bottom, then the red, width a variable width on top.
Thx, I am using a red label which takes times the percentage with width divided by 100
Follow this Question
Related Questions
Drawing 4 GUIButton's with a forloop. Need help changing color? 1 Answer
How to render a colored 2D rectangle. 6 Answers
Labels aren't colored properly 1 Answer
Colored 3d Text? 1 Answer
Can't slide horizontal slider 4 Answers