# sm.tool.interactState

The interact state describe what kind of interaction is made. This is used to check whether a mouse button or key was just made pressed, held, etc.

**Kind:** Constant

**Environments:** Game

## Game

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

The states are:

- <strong>null</strong> &ndash; No keypress was made.
- <strong>start</strong> &ndash; The key was just pressed.
- <strong>hold</strong> &ndash; The key is held down.
- <strong>stop</strong> &ndash; The key was just released.

| Value | Description |
| --- | --- |
| null | 0 |
| start | 1 |
| hold | 2 |
| stop | 3 |

**Returns:**

| Type | Description |
| --- | --- |
| table | The interact state list. |
