# sm.version

Returns the current version of the game as a string.

**Kind:** Constant

**Environments:** Game, Terrain

## Game

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

**Returns:**

| Type | Description |
| --- | --- |
| string | The current version of the game. |

## Terrain

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

**Returns:**

| Type | Description |
| --- | --- |
| string | The current version of the game. |
