Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Math.Vector2
lengthSq()
Description:
Calculate the length of this Vector squared.
Returns:
Description:
The length of this Vector, squared.
Type:
number
Since:
3.0.0
Source:
src/math/Vector2.js
(Line
429
)
Possible examples