Jump to content

Playing music from a specific point


Halu
 Share

Recommended Posts

Hey All!

I'm trying to play a music file from the middle of it.

I wrote this code: 
 

const music = scene.sound.add('music');
music.play()
music.setSeek(36000);


but it still plas from the start of it..

Any ideas?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...