Here is an example of a lerping bar,
Lerp has 3 parameters :
- the minimal value
- the maximal value
- the step to take
If the step is 0, lerp will be the minimal, 1 will be the maximal.
By using "set Something to lerp(Something, GoalValue, Speed)", with :
- Something being your width in this example
- Goalvalue being the maximal width of the bar here
- Speed being tested with different values, you have 2 settings in the example.