# ShapeClass.client_canInteract

Called to check whether the [Interactable](../Game-Script-Environment/Userdata/Interactable.md) can be interacted with at this moment.

**Kind:** Callback

**Environments:** Game

## Game

**Callback side:** Client

``` { .lua .api-signature }
ShapeClass:client_canInteract( character )
```

[Open the full Game reference](../Game-Script-Environment/Classes/ShapeClass.md#client_caninteract)

> **Note:**
> This callback can also be used to change the interaction text shown to the player using [sm.gui.setInteractionText](../Game-Script-Environment/Static-Functions/sm.gui.md#setinteractiontext). (Defaults to "E Use")

> **Note:**
> Can be used to override restrictions. (See [Shape.usable](../Game-Script-Environment/Userdata/Shape.md#usable))

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `self` | table | The class instance. |
| `character` | [Character](../Game-Script-Environment/Userdata/Character.md) | The [Character](../Game-Script-Environment/Userdata/Character.md) of the [Player](../Game-Script-Environment/Userdata/Player.md) that is looking at the [Shape](../Game-Script-Environment/Userdata/Shape.md). |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | A boolean indicating whether the interactable can be interacted with or not. (Defaults to true if [client_onInteract](../Game-Script-Environment/Classes/ShapeClass.md#client_oninteract) is implemented, otherwise false) |
