Incorrect Layer not displaying in drag and drop activity

Oct 20, 2022

I'm working on an interactive activity with multiple objects. I have triggers for each object to change state to drop correct or incorrect. When all items are dropped correctly, the correct layer pops up, no issues. However, nothing comes up if anything is incorrect. I have tried setting triggers with or without a submit button and nothing comes up when items are incorrect. Any insight would be appreciated! 

3 Replies
Sam Hill

Hi Katherine, I've created a solution that triggers the Try again. I noticed there are problems with detecting a "not Normal" state, and had success checking for a "Drop Correct" and "Drop Incorrect" state in order to enable a Submit button.

See the attached file. The Enable/Disable submit button runs in layer that is triggered each time and element is dropped on a target. It relies on a couple of variables. COUNT which is used to count up the number of glasses that have a state of Drop Correct or Drop Incorrect, and then MAX which is the maximum expected, and therefore can enable the submit button.

Jose Tansengco

Hi Katherine, 

Looks like you received awesome assistance from Sam. I opened a support case on your behalf so we can have our support team take a look at your project file, but if Sam's solution works for you as well, you can just disregard the email from our support team when you receive it!