# Sockets

Sockets determine where other building objects will attach to the current building object. You can also define specific relative locations that select which socket to use. This is helpful when multiple sockets are in the same location or when one socket will always be the closest socket causing the system to never choose the other sockets.

<figure><img src="https://1839238237-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWjU7bSayXkXSDn5yzIdC%2Fuploads%2FyPxBw1Ye2Wg4yxhFIcz6%2Fimage.png?alt=media&#x26;token=91736a67-b969-4010-a69e-9881cdb3c276" alt=""><figcaption></figcaption></figure>

**Building Type**: The building type that will attach to this socket.\
**Transforms**: The transform of the socket relative to this building object.\
**Locations**: Relative location that corresponds to the transform of the same index.

If you choose to utilize locations, you must have the same number of transforms and locations since each location corresponds to a transform.
