# Vec3.__tostring

**Kind:** Operation

**Environments:** Game, Terrain

## Game

``` { .lua .api-signature }
tostring(Vec3)
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Vec3.md#__tostring)

**Operations:**

| Operation | Returns | Description |
| --- | --- | --- |
| `tostring(Vec3)` | string | String representation of vector. |

## Terrain

``` { .lua .api-signature }
tostring(Vec3)
```

[Open the full Terrain reference](../Terrain-Script-Environment/Userdata/Vec3.md#__tostring)

**Operations:**

| Operation | Returns | Description |
| --- | --- | --- |
| `tostring(Vec3)` | string | String representation of vector. |
