for (var i = 0; i < 5; i++) {
this.time.addEvent({
delay: 300,
loop: false,
callback: () => {
this.scene.start("scene1");
}
})
}
Here is my another scene, I am trying to loop the scene back to scene 1 only for specific time but the for loop do not work. It still loop the scene infinitely. What should I do?