Skip to content

Commit b4dcc9b

Browse files
committed
Fix Path moveTo optional y param
1 parent 000beb2 commit b4dcc9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/curves/path/Path.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ var Path = new Class({
786786
* @since 3.0.0
787787
*
788788
* @param {(number|Phaser.Math.Vector2)} x - The X coordinate of the position to move the path's end point to, or a `Vector2` containing the entire new end point.
789-
* @param {number} y - The Y coordinate of the position to move the path's end point to, if a number was passed as the X coordinate.
789+
* @param {number} [y] - The Y coordinate of the position to move the path's end point to, if a number was passed as the X coordinate.
790790
*
791791
* @return {this} This Path object.
792792
*/

0 commit comments

Comments
 (0)