Issues creating a simple Drag and Drop Interactive

A client ask me to develop a simple drag and drop quiz that after a user drag a element over another, if its the right answer it play another scene… i was able to work perfect in desktop but is not working in mobile:
Also here is the code:

Since i a am not a seasoned coder, maybe someone can give it a look and find out why isnt work… thanks in advance…

the touch-punch-hack throws an error.
be sure to load librarys in the right order: jquery -> jqueryUI -> touchpunch
avoid to load libraries several times

also touchpunch depends on jqueryUIwidget and -mouse. be sure those are included in your Version

when using hype it’s quite heavyweight to depend on all those libraries …
the (jquery -> jqueryUI -> touchpunch)-setup is really slow on mobile

1 Like