Returns the ending point of the Path.
A Path's ending point is equivalent to the ending point of the last Curve in the Path. For an empty Path, the ending point is at the Path's defined #startPoint.
name | type | arguments | description |
---|---|---|---|
out | Phaser.Math.Vector2 | <optional> |
The object to store the point in. |
The modified out
object, or a new Vector2 if none was provided.