Play song from a certain interval

Hi! I know this isn’t possible with coblocks but maybe someone can tell me how to do it with typescript or python? I have never used either of these but if someone could show me the code…

I would like to play a sound effect but have it start 10 seconds into the sound effect and not from the beginning. :slight_smile:

let sound = Sound.load("soundId");
Time.schedule(() => sound.play(), 10);

And you need to find sound’s identifier. Select “Upload” tab in the bottom part, follow “Sounds”, pick sound you need and dots menu on upper-right part of sound.

And with CoBlocks it’s also possible.

1 Like

Thank you very much!