You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/input/Pointer.js
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -174,6 +174,11 @@ Phaser.Pointer = function (game, id) {
174
174
* @property {Phaser.Point} positionDown - A Phaser.Point object containing the x/y values of the pointer when it was last in a down state on the display.
175
175
*/
176
176
this.positionDown=newPhaser.Point();
177
+
178
+
/**
179
+
* @property {Phaser.Point} positionUp - A Phaser.Point object containing the x/y values of the pointer when it was last released.
180
+
*/
181
+
this.positionUp=newPhaser.Point();
177
182
178
183
/**
179
184
* A Phaser.Circle that is centered on the x/y coordinates of this pointer, useful for hit detection.
0 commit comments