Phaser API Documentation

  Version: 
length()

Description:

Calculate the length (or magnitude) of this Vector.

Returns:
Description:

The length of this Vector.

Type:
  • number
Inherited from: Phaser.Math.Vector3#length
Since: 3.0.0
Source: src/math/Vector3.js (Line 519)