Skip to content

Commit f07c10e

Browse files
committed
Fix typo for Phaser.InputHandler#pointerDragged for docs phaserjs#451
1 parent 1762983 commit f07c10e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/input/InputHandler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,9 @@ Phaser.InputHandler.prototype = {
490490

491491
/**
492492
* Is this sprite being dragged by the mouse or not?
493-
* @method Phaser.InputHandler#pointerTimeOut
493+
* @method Phaser.InputHandler#pointerDragged
494494
* @param {Phaser.Pointer} pointer
495-
* @return {number}
495+
* @return {boolean} True if the pointer is dragging an object, otherwise false.
496496
*/
497497
pointerDragged: function (pointer) {
498498

@@ -506,7 +506,7 @@ Phaser.InputHandler.prototype = {
506506
* Checks if the given pointer is over this Sprite and can click it.
507507
* @method Phaser.InputHandler#checkPointerDown
508508
* @param {Phaser.Pointer} pointer
509-
* @return {boolean}
509+
* @return {boolean} True if the pointer is down, otherwise false.
510510
*/
511511
checkPointerDown: function (pointer) {
512512

0 commit comments

Comments
 (0)