# sm.construction.buildBlock

Builds a block on a shape.

**Kind:** Function

**Environments:** Game

## Game

### Overload 1

``` { .lua .api-signature }
sm.construction.buildBlock( uuid, localPosition, shape )
```

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The uuid of the block to build. |
| `localPosition` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The position to build the block on. |
| `shape` | [Shape](../Game-Script-Environment/Userdata/Shape.md) | The shape to build on. |

### Overload 2

``` { .lua .api-signature }
sm.construction.buildBlock( uuid, localPosition, joint )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.construction.md#buildblock-uuid-vec3-joint)

**Availability:** Server only

Builds a block on a joint.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The uuid of the block to build. |
| `localPosition` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The position to build the block on. |
| `joint` | [Joint](../Game-Script-Environment/Userdata/Joint.md) | The joint to build on. |

### Overload 3

``` { .lua .api-signature }
sm.construction.buildBlock( uuid, localPosition, lift )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.construction.md#buildblock-uuid-vec3-lift)

**Availability:** Server only

Builds a block a lift.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The uuid of the block to build. |
| `localPosition` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The position to build the block on. |
| `lift` | [Lift](../Game-Script-Environment/Userdata/Lift.md) | The lift to build on. |

### Overload 4

``` { .lua .api-signature }
sm.construction.buildBlock( uuid, localPosition )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.construction.md#buildblock-uuid-vec3)

**Availability:** Server only

Builds a block on terrain.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `uuid` | [Uuid](../Game-Script-Environment/Userdata/Uuid.md) | The uuid of the block to build. |
| `localPosition` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The position to build the block on. |
