We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a91f85 + 1939efd commit 89d1072Copy full SHA for 89d1072
1 file changed
src/geom/Point.js
@@ -87,7 +87,7 @@ Phaser.Point.prototype = {
87
/**
88
* Sets the `x` and `y` values of this Point object to the given values.
89
* If you omit the `y` value then the `x` value will be applied to both, for example:
90
- * `Point.setTo(2)` is the same as `Point.setTo(2, 2)`
+ * `Point.set(2)` is the same as `Point.set(2, 2)`
91
*
92
* @method Phaser.Point#set
93
* @param {number} x - The horizontal value of this point.
0 commit comments