# sm.gui.chatMessage

Prints text in the chat gui.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.gui.chatMessage( message )
```

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

> **Note:**
> Will not be sent to other players.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `message` | string | The message. |
