Hello,
I’m trying to declare a variable via ActivePresenter->Project->Properties->Event:
var score = 0;
Within some questions and their onCorrect
event I increment the score by one. Now on the last slide I’m trying to access my variable but without success. I tried using alert(score);
, console.log(score);
but I can’t get it outputted. I can output the text object where I want to show the score later by passing it into alert after retrieving via: prez.object
.
Any ideas? It can’t be so hard to get a variable declared and access it again.