# Harvestable.setAllSubMeshVisible

Set the visibility of all submeshes

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
harvestable:setAllSubMeshVisible( visible )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `harvestable` | [Harvestable](../Game-Script-Environment/Userdata/Harvestable.md) | The harvestable. |
| `visible` | boolean | True if the submeshes should be visible. |
