Vector.Length2D
From GMod Wiki
| Function | |
| Syntax | Vector:Length2D( ) |
| Description: | |
| Get vector's length on the X and Y plane. | |
| Returns: | Float |
| In Object: | Vector |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Vector.Length2D]Vector.Length2D [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Get a vector's length on X and Y |
|---|---|
| Used on | |
| Code | Vector( 100, 0, 100 ):Length2D() |
| Output | 100 |