# sm.vec3.zero

Creates a new vector with 0 in x, y, x.

**Kind:** Function

**Environments:** Game, Terrain

## Game

``` { .lua .api-signature }
sm.vec3.zero(  )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.vec3.md#zero)

**Returns:**

| Type | Description |
| --- | --- |
| [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The zero vector. |

## Terrain

``` { .lua .api-signature }
sm.vec3.zero(  )
```

[Open the full Terrain reference](../Terrain-Script-Environment/Static-Functions/sm.vec3.md#zero)

**Returns:**

| Type | Description |
| --- | --- |
| [Vec3](../Terrain-Script-Environment/Userdata/Vec3.md) | The zero vector. |
