Creates a "gap" in this path from the path's current end point to the given coordinates.
After calling this function, this Path's end point will be equal to the given coordinates
name | type | arguments | description |
---|---|---|---|
x | number | Phaser.Math.Vector2 |
The X coordinate of the position to move the path's end point to, or a |
|
y | number | <optional> |
The Y coordinate of the position to move the path's end point to, if a number was passed as the X coordinate. |
This Path object.