# sm.util.hash

Create a hash from arguments.

**Kind:** Function

**Environments:** Game, Terrain

## Game

``` { .lua .api-signature }
sm.util.hash( ... )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `...` | any | The arguments to be hashed. |

**Returns:**

| Type | Description |
| --- | --- |
| integer | The hash. |

## Terrain

``` { .lua .api-signature }
sm.util.hash( ... )
```

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

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `...` | any | The arguments to be hashed. |

**Returns:**

| Type | Description |
| --- | --- |
| integer | The hash. |
