sm.isHost
Returns whether the game is currently running on the hosting player's computer.
Kind: Constant
Environments: Game, Terrain
Game
Returns:
| Type | Description |
|---|---|
| boolean | Whether the game is running on the host. |
Terrain
Open the full Terrain reference
Returns:
| Type | Description |
|---|---|
| boolean | Whether the game is running on the host. |