> ## Documentation Index
> Fetch the complete documentation index at: https://items.lodemc.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Sofas that join up

> Pieces that change shape to match their neighbours, like stairs.

Pieces in the same group change their model to match their neighbours, the way stairs do:

```yaml theme={null}
sofa:
  type: prop
  model: sofa_single.json
  seat: 0,0.5,0
  connect:
    group: sofa                # pieces of a group join (default: this id)
    left: sofa_left.json       # the left end, seen from the front
    right: sofa_right.json
    middle: sofa_middle.json
    inner: sofa_inner.json     # corners
    outer: sofa_outer.json
    corners: right             # which way the corner models turn (default right)
```

## Corner models

Draw the corner models with the model's front facing north like the rest. By default the corner's extra side (the second backrest of an inner corner, the post of an outer one) is on the **right as seen sitting**, on the model's east (+x) side. That's how Nexo's and most bought sofa models are drawn. If yours turn the other way, set `corners: left`. Lode Items turns the corner model a quarter for the mirrored corner, so one model covers both.

The piece next to a corner treats the corner as part of its row, so it gets no armrest on that side. That works for both kinds of corner: the usual L with the backrests outside, and the other way round with the backrests inside.

Pieces already placed update their shape when something next to them is placed, broken or turned.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.