mwg API
    Preparing search index...

    Function bindTouch

    • binds this player's own action to an on-screen touch control, the same way bindButton wires up a gamepad button - call once during setup, then toggle it with pressTouch/releaseTouch

      Parameters

      • action: string
      • id: string = action

      Returns void