melonJS
    Preparing search index...

    Variable POINTERUPConst

    POINTERUP: "me.event.pointerup"

    Event for a pointer released anywhere: over a region or not, over the canvas or not, even outside the browser window while it was held. The end of a drag, wherever the player lets go. A region's own "pointerup" only fires when the release lands on it.
    Data passed : {me.Pointer} a Pointer object, in screen coordinates (gameScreenX / gameScreenY, outside the canvas when the release was)

    event.on

    import { event } from "melonjs";
    event.on(event.POINTERUP, (pointer) => {
    launch(pointer.gameScreenX, pointer.gameScreenY);
    });