Forum Discussion

KristenSuarez's avatar
KristenSuarez
Community Member
2 years ago

Drag and Drop scoring incorrectly on try again

Hello again,

I'm now facing a calculation discrepancy on my drag and drop interaction. If anything correct is dropped into the drop target and then taken out before submitting, it does not remove the point given to the user when eventually all items are dropped and it is submitted. Technically, I could still pass if I drop the correct items, remove a few, and then drop incorrect items in their place. I've made sure everything is set to "return to initial state" but that does not seem to be helping in this case. This is slide 1.9 on the attached file. Any help is greatly appreciated!

  • Hello Kristen,

    Thanks for reaching out!

    I took a look at your project file and saw that the drag and drop interaction in Slide 1.9 relied on the 'Slide12Score' variable for scoring. The reason for the incorrect scoring on your slide is because the value of variables does not reset when you click on the 'Try Again' layer, and the fix is to add a trigger to reset the value when the Try Again layer is shown:

      

    I've attached an edited version of your project file for your reference. 

    Let me know if you have any questions!