Hi, I heard there is a new Sound Property called "Time.Lenght" and I never knew how to use it even though it's on the wiki but it shows no example.
Is it still in Development or just not written anywhere?
Thanks.
I'm thinking you would use it like any other property.
print(Sound.TimeLength)
According to the wiki, it returns the time in milliseconds, so if you wanted to find the length of a sound in seconds, you would do:
print(Sound.TimeLength / 1000) -- 1000 ms = 1 second