Duration, display minutes & seconds
I've created multiple slides that capture the total duration taken to answer the slide correctly, and this seems to work ok using the code I was able to find online. However, I have no idea how to now change it so that it shoes minutes and seconds.
I've attached the story file for reference.
This is the code I've used:
var player = GetPlayer();
var Start = player.GetVar("gsStart");
var End = player.GetVar("gsEnd");
var nDuration = Math.round((End - Start) / 1000 / 60);
player.SetVar("gsDuration" , nDuration);