# sm.visualization.setCreationFreePlacementRotation

Set the rotation index of the creation visualization. Only works if setFreePlacement is true.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.visualization.setCreationFreePlacementRotation( index )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `index` | integer | Index to rotate the creation visualization with |
