How could I turn the animation.Length/animation.TimePosition into a percentage?

i want to make a percentage bar depending on how much the animation has already progressed

however i don’t know how to do the calculations because my brain becomes really slow when coding comes to math

obviously i thought of using animation.Length and animation.TimePosition but i have no clue what kind of math i would need to do😭

local percentage = animation.TimePosition / animation.Length * 100

gosh i feel like an idiot, tysm

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.