diff --git a/README.md b/README.md index 9ec728685..121b3ab33 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ Version 2.2.2 - "Alkindar" - in development * Removed redundant `tolerance` parameter from Rectangle.intersects (thanks @toolness #1463) * Phaser.Graphics.drawCircle now overrides PIXI.drawCircle which means the docs are now correct re: diameter not radius (thanks @ethankaminski #1454) * Device.webAudio check inversed to avoid throwing a warning in Chrome. +* Mouse.mouseMoveCallback is flagged as deprecated. ### Bug Fixes diff --git a/src/input/Mouse.js b/src/input/Mouse.js index f2429fca7..e5db63795 100644 --- a/src/input/Mouse.js +++ b/src/input/Mouse.js @@ -32,7 +32,8 @@ Phaser.Mouse = function (game) { this.mouseDownCallback = null; /** - * @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved while pressed down. + * @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved. + * @deprecated Will be removed soon. Please use `Input.addMoveCallback` instead. */ this.mouseMoveCallback = null;