I need to stop the music at a time ex: 2:03
And after an action start it again at 2:03
use Audio.Duration("tag")
Where do I use it?
oops I meant PlaybackTime. you can use it any where you can write system expressions..
Try: System Compare two values
First Value: Audio.PlaybackTime("tag")
Second Value: 123
tag is what you named your audio, and the 123 is number of seconds
Develop games in your browser. Powerful, performant & highly capable.
oops I meant PlaybackTime. you can use it any where you can write system expressions.. Try: System Compare two values First Value: Audio.PlaybackTime("tag") Second Value: 123 tag is what you named your audio, and the 123 is number of seconds
I try but don't work
when you start the audio are you giving it a tag?
Yes,
well I wouldn't say equal to exactly "1"..since it's probably not returning a whole number..there are decimals places..
so maybe do round(Audio.PlaybackTime("Historia") or rather >= (greater than or equal) to 1.
= 1 and <= 2 thx its work