Phaser API Documentation

  Version: 
getLength()

Description:

Gets the length of this curve.

Returns:
Description:

The length of this curve. For a MoveTo the value is always 0.

Type:
  • number
Examples:
Since: 3.0.0