# sm.gui.setInteractionText

Set the binding text displayed at the center.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.gui.setInteractionText( text1, binding1?, text2?, binding2?, text3? )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `text1` | string | The leftmost segment. |
| `binding1` *(optional)* | string | The left white segment. |
| `text2` *(optional)* | string | The mid or end segment. |
| `binding2` *(optional)* | string | The right white segment. |
| `text3` *(optional)* | string | The rightmost segment. |
