melonjs
    Preparing search index...

    Function releasePointerEvent

    • allows the removal of event listeners from the object target.

      Parameters

      • eventType: string

        The event type for which the object was registered. See input.registerPointerEvent

      • region: any

        the registered region to release for this event

      • Optionalcallback: Function

        if specified unregister the event only for the specific callback

      Returns void

      input

      // release the registered region on the 'pointerdown' event
      me.input.releasePointerEvent('pointerdown', this);