We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83b5335 commit fcb2dc8Copy full SHA for fcb2dc8
1 file changed
src/input/InputHandler.js
@@ -194,6 +194,11 @@ Phaser.InputHandler = function (sprite) {
194
*/
195
this.dragStartPoint = new Phaser.Point();
196
197
+ /**
198
+ * @property {Phaser.Point} snapPoint - If the sprite is set to snap while dragging this holds the point of the most recent 'snap' event.
199
+ */
200
+ this.snapPoint = new Phaser.Point();
201
+
202
/**
203
* @property {Phaser.Point} _dragPoint - Internal cache var.
204
* @private
0 commit comments