Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector4

length()

Description:

Calculate the length (or magnitude) of this Vector.

Returns:
Description:

The length of this Vector.

Type:
  • number
Since: 3.0.0
Source: src/math/Vector4.js (Line 233)