> For the complete documentation index, see [llms.txt](https://lua.legacy.fatality.win/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lua.legacy.fatality.win/csgo/datatypes/vector3.md).

# Vector3

csgo.vector3

## Constructor

### Vector3

container for a 3-dimensional vector.

`csgo.vector3(x, y, z)`

| Parameter | Data type |     Description     |
| :-------: | :-------: | :-----------------: |
|     x     |  integer  | constructor x value |
|     y     |  integer  | constructor y value |
|     z     |  integer  | constructor z value |

## Functions

### to\_screen

converts vector to screen coordinates. returns true if coordinates are on screen

`to_screen( )`
