Godot Version
4.2.2
Question
I want to put a label above the progress bar and i want it to update its position according to progress bar value(i.e. go up and down)
4.2.2
I want to put a label above the progress bar and i want it to update its position according to progress bar value(i.e. go up and down)
For anyone having same Question
Try this solution
new_position = position_of label_at_0_percent.lerp(position_at_100_percent, (progressBar.value/progressBar.max_value))
Label.position.y = new_position.y
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.