Touch control in javascript | Sololearn: Learn to code for FREE!

+1

Touch control in javascript

How to make touch control like move right, move left, but the control can be held

8/2/2020 3:45:11 AM

Riki Adityawan

2 Answers

New Answer

+4

Check this. https://developer.mozilla.org/en-US/docs/Games/Techniques/Control_mechanisms/Mobile_touch And there are so many libraries.  DHTMLX Touch, TouchScroll, XUI, SLY, jQTouch, jQuery mobile

+3

The event listeners are touchstart touchmove touchcancel touchend