I have made a drag and drop interaction. I have added a trigger with which if the user drags/hovers the wrong answer in the box it highlights the box (drop box) in red. however, I am not sure how can the drop box change it's state to normal?
Again, to clarify, my intention is to create a drag and drop interaction where in if the learner drags wrong answer into the box, the box should turn red. And when the user drags the wrong answer out of the box, it should turn normal.
Hello Ravi. How I would probably do this is to add a trigger to the wrong item that says to change the state of the dropbox when object intersects with the dropbox. Then a second trigger that says to change the state of the dropbox back to normal when object intersection ends. You would just need to add these triggers to each of the wrong items. I'm sure there is a way to do this with variables as well, but to me this is probably the easiest method. Hope this helps.
Thank you Ryan! This is just what I wanted. It seems sometimes I end up looking for complex steps for a simple problem. Thanks again, much appreciated!
2 Replies
Hello Ravi. How I would probably do this is to add a trigger to the wrong item that says to change the state of the dropbox when object intersects with the dropbox. Then a second trigger that says to change the state of the dropbox back to normal when object intersection ends. You would just need to add these triggers to each of the wrong items. I'm sure there is a way to do this with variables as well, but to me this is probably the easiest method. Hope this helps.
Thank you Ryan! This is just what I wanted. It seems sometimes I end up looking for complex steps for a simple problem. Thanks again, much appreciated!
This discussion is closed. You can start a new discussion or contact Articulate Support.