Dota 2 Workshop Tools/Scripting/API/Vector.Length2D: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 14: | Line 14: | ||
;Example | ;Example | ||
<source lang="lua"> | <source lang="lua"> | ||
v = | v = Vector(1, 2, 3) | ||
print(v:Length2D()) | print(v:Length2D()) | ||
</source> | </source> |
Revision as of 02:27, 26 August 2014

Function Description
float Length2D()
Length of the Vector in the XY plane
- Example
v = Vector(1, 2, 3)
print(v:Length2D())
Returns
float - No Description Set