I'm adapting some drag and drop code from a demo I found on the forums for a project at work- it runs well except I can't get the opacity of the target element to revert back to 1 when a drag element is not over the target. It stays semi opaque. Could anyone explain the fault in my (very crude) adaptation. Apologies in advance for not fully crediting the code, if anyone knows who made it, I'll add a credit to the project.
The issue is with scene 5.2 draft- the js function is called checkDrop() and also required the js file hitcheck-1.js. It's all packaged in the project. Hope someone can help- thanks in advance..
lrc-eng-jd-ambitious-vocab.hype.zip (1.2 MB)