Pinch, Swipe and Drag functions using hammer.js in Animate CC
Hi, I have an html5 canvas movie that I would like to be able to recognize Pinch, Swipe and Drag gestures when using touch screens such as smartphones or tablets.
I am linking my html to the hammer.js library:
<script src="https://hammerjs.github.io/dist/hammer.js"></script>
However, I don’t know which functions I have to call in Animate CC canvas to Pinch, Swipe and Drag my movie symbol.
Can anyone help with the code needed to make this functions work?
Many thanks in advance!
