Help with slider position

Hey,
I need help with the slider position, I want to make it so that it will show the progress of the goal. It's a walking app, I want to make it so that if the goal is 10m then if you walk 10m the slider will be full, if you walk 5 it will be in the middle etc. I made it so that it would calculate the percent and it works perfectly it shows me the percentage of the goal, but I can't figure out how to move the slider by the percentage of the goal.

How I calculate the percentage of the goal:
image

Set Slider min=0, max=100
Set Slider thumb position to "Percent"

2 Likes