I wonder if anyone can help please?
I'm making a freeform drag and drop with 4 drag items and 4 drop spaces. There is a total score display which I want to increment by 1 every time a learner drops an item into the correct space. I have got that bit to work okay. The problem comes if the user drags a correct item out of its correct drop space and then re-drops it as the score goes up by another point. Is there a way to make it so the learner only gets 1 point if they drag an item to a correct spot and then if they take the item off, the score goes down by 1?
I'd looked at other posts which suggested making a rectangle around the drop area and having a variable to take away one point when the drag item crosses that rectangle. However, this ended up with a learner being able to get a negative score. I'm sure I've done something untoward with my variables - but I just don't know what!