Hello.
That thread was helpful indeed, thank you, it's still not working exactly as it should. I got the button to work with this code:
function snooze() {
var d = new Date(); // current date
var m = d.getMinutes();
var h = d.getHours();
sym.snooze() = setTimeout(snooze, 4000);
sym.play(1000);
}
However, when I click the button, the animation plays instantly (it does not wait the 4000ms). It's like it's not reading that part of the code. Any ideas? Is there a syntax issue?
Thank you again.