MCPcopy Create free account
hub / github.com/melonjs/melonJS / dragEnd

Method dragEnd

packages/melonjs/src/renderable/draggable.js:103–108  ·  view source on GitHub ↗

* Gets called when the user stops dragging the entity * @returns {boolean} false if the object stopped being dragged

()

Source from the content-addressed store, hash-verified

101 * @returns {boolean} false if the object stopped being dragged
102 */
103 dragEnd() {
104 if (this.dragging === true) {
105 this.dragging = false;
106 return false;
107 }
108 }
109
110 /**
111 * Destructor

Callers 1

initEventsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected