What code are you using? I believe most of the built in variables are not accessible through JavaScript (at least that was the case in the past). However, they are accessible to other SL variables. So, use some trigger to set your Results.ScorePercent variable equal to some other custom variable and then use JS to call your custom variable.
you should ideally create a different variable and set that to the value of the results variable and then call that in javascript, the results variables often cannot be called directly
6 Replies
What code are you using?
I believe most of the built in variables are not accessible through JavaScript (at least that was the case in the past).
However, they are accessible to other SL variables. So, use some trigger to set your Results.ScorePercent variable equal to some other custom variable and then use JS to call your custom variable.
you should ideally create a different variable and set that to the value of the results variable and then call that in javascript, the results variables often cannot be called directly
Great minds....
Hi,
Thanks for sharing information, but I had done.
If that has not worked your javascript has an error
Thanks for the suggestion, I have Implemented functionality.
This discussion is closed. You can start a new discussion or contact Articulate Support.