# sm.isHost

Returns whether the game is currently running on the hosting player's computer.

**Kind:** Constant

**Environments:** Game, Terrain

## Game

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

**Returns:**

| Type | Description |
| --- | --- |
| boolean | Whether the game is running on the host. |

## Terrain

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

**Returns:**

| Type | Description |
| --- | --- |
| boolean | Whether the game is running on the host. |
