Wow thank you so much! I spent a whole day trying to figure this out, I’m still very new to coding but thank you!
I have one more issue, the code you provided works but at each 4 second mark it seems to add to the decimal place in the sliders value so with this array example:
[
{
“ID”: 1,
“slider”: 100,
“duration”: 4.
},
{
“ID”: 2,
“slider”: 200,
“duration”: 4.
},
{
“ID”: 3,
“slider”: 300,
“duration”: 4.
},
{
“ID”: 4,
“slider”: 400,
“duration”: 4.
},
{
“ID”: 5,
“slider”: 500,
“duration”: 4.
},
]
Using this example 0 seconds starts at 100 and when it gets to 4 seconds it shows 200.10 in the slider’s value, then when you move to 8 seconds it shows 300.20 in the slider’s value and so on. How do i prevent this? You have no idea how helpful this was to me! , but this is the last issue i need help on.