> For the complete documentation index, see [llms.txt](https://learn.cozmos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.cozmos.com/guides/clusters/cluster-packing.md).

# Cluster Packing

If you have objects selected and click "Cluster" they'll be put into a Cluster without disturbing their position.

{% hint style="info" %}
You can put clusters inside other clusters to create unique layouts
{% endhint %}

### Packing Style <a href="#h_01hb9q13711mc229wgw5e6z5yb" id="h_01hb9q13711mc229wgw5e6z5yb"></a>

There are 3 packing styles that determine how objects are placed inside the cluster:&#x20;

* **Vertical**: objects are placed top to bottom.&#x20;
* **Horizontal**: objects are placed left to right.
* **Grid**:  objects are placed in rows and columns to fit all content.

<figure><img src="/files/mgEnQ6R7iDOsHuxsZid2" alt=""><figcaption></figcaption></figure>

### Equal size objects <a href="#h_01hb9q13716vy5nf7ac5xhk9kd" id="h_01hb9q13716vy5nf7ac5xhk9kd"></a>

Enable "equal size objects" for all objects inside a cluster to have the same size. When cluster's size is changed all other objects will automatically adjust their size to fit the new parameters.

<figure><img src="/files/mEwvCjyWDZv0TqdiZBrH" alt=""><figcaption></figcaption></figure>

### Alignment <a href="#alignment" id="alignment"></a>

#### Set alignment on objects in a cluster <a href="#h_01hb9q1371dt11khb09enwn16q" id="h_01hb9q1371dt11khb09enwn16q"></a>

Control horizontal (left, center, right) and vertical (top, middle, bottom) alignment for objects in a cluster.

<figure><img src="/files/mKURzpFdpruQaoCH8DeO" alt=""><figcaption></figcaption></figure>

### Spacing  <a href="#h_01hb9q13716vy5nf7ac5xhk9kd" id="h_01hb9q13716vy5nf7ac5xhk9kd"></a>

Control the amount of space between objects in a cluster, or spread them out evenly within it.

<figure><img src="/files/v2nh2TwTvdZHThciYBww" alt=""><figcaption></figcaption></figure>

If the cluster's packing style is set to vertical or horizontal, spacing between object applies vertically or horizontally, respectively. If you have the cluster's packing style set to grid, the specified gap will be applied both vertically and horizontally.

### Padding <a href="#padding" id="padding"></a>

Padding controls the distance from cluster's border to the objects inside it. You can either set uniform vertical and horizontal paddings or control all values separately (top, right, bottom, left)

<figure><img src="/files/F5oy83of7kWuSYeOjB9B" alt=""><figcaption></figcaption></figure>

### Scaling <a href="#resizing" id="resizing"></a>

Use the corner elements to scale the cluster along with the objects inside it.:

<figure><img src="/files/Wax4z5ybxILy1CnWV67T" alt=""><figcaption></figcaption></figure>
