<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [Vector2](./server.vector2.md) &gt; [toString](./server.vector2.tostring.md)

## Vector2.toString() method

Returns a string representation of the vector in x,y format.

**Signature:**

```typescript
toString(): string;
```
**Returns:**

string

A string representation of the vector in the format x,y.

