Forum Discussion
Error in forward and backward state in drag and drop activity
You need to establish a method to reset the "KD1Say" variable to 0 upon revisiting this slide. Currently, upon returning, "KD1Say" remains at 3, disrupting your interaction and visibility layers based on this variable's value. If you reset it to 0 when the timeline starts on this slide, it still won't function properly because on your "Try again" layer, you have a trigger to jump back to this slide, causing the variable to reset to 0 and disrupting your interaction once more.
Solution:
Create a new trigger as indicated in the screenshot (green) and adjust the existing trigger (red). This setup ensures that the "KD1Say" variable resets to 0 only if it equals 3. The second trigger prevents the "Try again" layer from appearing when the "KD1Say" variable is 0 upon revisiting this slide.
Apply the same adjustments for the second drag and drop interaction.