mwg API
    Preparing search index...

    Function pressTouch

    • Presses an on-screen touch control bound with bindTouch, e.g. from a Button's onPress - shares the same held/justPressed state a real key does, so holding a virtual d-pad button repeats a move the same way holding an arrow key does, rather than firing once per tap the way Button.onClick alone would.

      Parameters

      • id: string

      Returns void