# vector proc

Source: https://ref.dm-lang.org/proc/vector
Added in BYOND 516.

### Format
- `vector(x,y)`
- `vector(x,y,z)`
- `vector(String)`
- `vector(List)`
- `vector(Vector)`
- `vector(Pixloc)`


### Returns
> A new vector.

### Args
- `x,y,z`: Components of the new vector.
- `String`: A text string to parse as a vector, where the delimiter between numbers can be a comma or x.
- `List`: A numeric list to copy as a vector.
- `Vector`: A vector to copy.
- `Vector`: A pixloc to copy as a vector.


Creates a vector.

### See also
- [vector](https://ref.dm-lang.org/vector/index.md)
- [pixloc](https://ref.dm-lang.org/pixloc/index.md)
