Need help please!
I'm creating a button that, when held for 3 seconds, restarts the layout. However, I'm having trouble getting the progress bar sprite (total width: 208) to actually sync with the number of seconds pressed.
I have a couple of questions:
1) Why are the timers messed up? If every 1 second I add 1, it should be equal to if every 0.001 seconds I add 1/1000 since 1 second = 1000 milliseconds yet when I did that to try and figure out the problem I got a different result? I got the "correct" result when I did every 0.001 seconds I add 1/60
2) Is there an easier way to do this where I can use Tweening instead and forego the whole timer part, the whole reason I'm going with every 0.001 second is so the progress bar moves smoothly and not in chunks.
Screen recording of the debug preview: streamable.com/aj2tz8
Project file: dropbox.com/s/odxh7b09jnz2x7d/HoldButtonToRestart.c3p