# sm.visualization.setCreationValid

Controls the rendering of the creation visualization. 

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.visualization.setCreationValid( valid, lift? )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `valid` | boolean | Should the visualization should render be valid |
| `lift` *(optional)* | boolean | Should the visualization should render be lift or place (Defaults to false) |
