Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Math.Vector2
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/Vector2.js
(Line
398
)
Possible examples