.. _touchevent: .. highlight:: javascript .. index:: single: TouchEvent --------------------- The TouchEvent Object --------------------- A TouchEvent object describes the touches which caused a touch event. TouchEvent objects are immutable and read-only. This closely matches the 'TouchEvent' interface described in the `W3 Touch Events specification `_. Properties ========== .. _touchevent-changedtouches: `changedTouches` ---------------- **Summary** An array of :ref:`Touch ` objects which contributed to the touch event (see :ref:`touch events `). **Syntax** :: var changedTouches = touch.changedTouches; .. _touchevent-gametouches: `gameTouches` ------------- **Summary** An array of all current touches (of type :ref:`Touch `) which started in the game area. **Syntax** :: var gameTouches = touch.gameTouches; .. _touchevent-touches: `touches` --------- **Summary** An array of all current touches(of type :ref:`Touch `). **Syntax** :: var touches = touch.touches;