Skip to main content

CommonTouchActive

Callable

  • CommonTouchActive(X: number, Y: number, W: number, H: number, TL?: TouchList): boolean

  • Returns TRUE if a section of the screen is currently touched on a mobile device


    Parameters

    • X: number

      The X position

    • Y: number

      The Y position

    • W: number

      The width of the square

    • H: number

      The height of the square

    • optionalTL: TouchList

      Can give a specific touch event instead of the default one

    Returns boolean