qc.Touch.isAnyTouchStart

Prototype

  • boolean isAnyTouchStart(void)

Description

Check whether any touch is pressed in current frame

Example

    if (game.input.touch.isAnyTouchStart()) {
        console.log('Touch start.');
    }