Gesture Input

The Device Input functions are all fine and well for dealing with simple on-screen touches or getting device orientation, but sometimes you'll want your projects to detect more complex things, like being able to drag or "flick" an instance across a room. These things can be done with the Device functions, but to make things easier GameMaker Studio 2 has a complete range of Gesture Events to detect double taps, dragging, flicks, pinches and rotations, at both an instance and a global level, as well as return information about the event. The functions listed here are all designed to give you greater control over how and when these events will be triggered.

IMPORTANT! These functions will not work on the HTML5 target platform. They will not give an error if used, but instead will simply be ignored.

The following different gesture function are available:

 

 

The following page is for the DS map that the different gesture events returns: