Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Geom.Mesh.Vertex
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
539
)
Possible examples