# sm.shape.createWedge

Creates a wedge. The wedge is oriented with one 

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.shape.createWedge( uuid, size, position, rotation?, dynamic?, forceSpawn? )
```

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

**Availability:** Server only

cathetus along the Y-axis and the other along the Z-axis, forming a right angle. 

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The uuid of the shape. |
| `size` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The size of the wedge. |
| `position` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The shape's world position. |
| `rotation` *(optional)* | [Quat](../Game-Script-Environment/Userdata/Quat.md) | The shape's world rotation. Defaults to no rotation (Optional) |
| `dynamic` *(optional)* | boolean | Set true if the shape is dynamic or false if the shape is static. Defaults to true (Optional) |
| `forceSpawn` *(optional)* | boolean | Set true to force spawn the shape even if it will cause collision. Defaults to true (Optional) |

**Returns:**

| Type | Description |
| --- | --- |
| [Shape](../Game-Script-Environment/Userdata/Shape.md) | The created wedge |
