# Interactable.setSubMeshVisible

Set the visibility of a submesh

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
interactable:setSubMeshVisible( name, visible )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Interactable.md#setsubmeshvisible)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `interactable` | [Interactable](../Game-Script-Environment/Userdata/Interactable.md) | The interactable. |
| `name` | string | Name of the submesh. |
| `visible` | boolean | True if the submesh should be visible. |
