# Add Actions to a Unit

## Add Button Actions to a Unit

<figure><img src="https://3560131808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoKhlOpFC8JmF8TcxylWx%2Fuploads%2FCL3VVG8irOpUKuKqUgyB%2FAdd_Actions_to_a_Unit.01.png?alt=media&#x26;token=07d77cd0-3d2c-4f75-924e-5cc4aa51fa0e" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
Select one or multiple units.
{% endstep %}

{% step %}
Click the **Context menu** icon.

A pop-up window will appear.
{% endstep %}

{% step %}
Select **Wrap in button** option.

{% hint style="info" %}
This action is also available via the keyboard shortcut **⇧ (Shift) + B**.
{% endhint %}

The following structure will appear:

> **a.** **Structural Button**: a button element;
>
> **b. Structural Container**: a container that appears automatically with the button element;
>
> **c. Wrapped unit**: a unit that has a structural container as a parent unit.
> {% endstep %}
> {% endstepper %}

### Set Structural Button

#### Grid tab

Set the structural button control options the same way as the units [management](https://help.parta.io/no-code-editor/edit-units/manage-a-unit) and [customization](https://help.parta.io/no-code-editor/edit-units/customise-a-unit) options.

#### Animation tab

Set the structural button animation options the same way as the units [animation](https://help.parta.io/no-code-editor/edit-units/animate-a-unit).

#### Element Tab

Set the structural button branding in the same way as the general [button element branding](https://help.parta.io/branding/create-branding/elements/button), except for the following options:

* Start course icon;
* Typography.

#### Data Tab

Set the structural button actions the same way as the general [button element](https://help.parta.io/editor/edit-elements/set-media-and-content-elements/button).&#x20;

### Set Structural Container

#### Manage Structural Container

Structural container layouts automatically appears when you add actions to a unit.

Select a structural container to perform an action.

{% hint style="warning" %}
Structural type layout management options does not include all [unit management](https://help.parta.io/no-code-editor/edit-units/manage-a-unit) options.
{% endhint %}

<figure><img src="https://3560131808-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoKhlOpFC8JmF8TcxylWx%2Fuploads%2FLqsqKzvn3qV9rggDQWyg%2FManage_a_Layout.02.png?alt=media&#x26;token=f80056ae-08c7-44cb-8424-aa870abe95a4" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="50.20001220703125">№</th><th width="200">Action</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td>Copy</td><td><p></p><ul><li>Go to the context menu and select the <strong>Clone</strong> option;</li><li>Use the keyboard shortcut <strong>Cmd (Ctrl) + D</strong>.</li></ul><p>A duplicated unit will appear to the right of the original unit.</p></td></tr><tr><td>2</td><td>Lock</td><td><p></p><ul><li>Click the <strong>Lock from editing</strong> icon at the Block structure tab;</li><li>Use the keyboard shortcut <strong>⇧ (Shift) + L</strong>.</li></ul></td></tr><tr><td>3</td><td>Unwrap</td><td><p></p><ul><li>Go to the context menu and select the <strong>Ungroup</strong> option;</li><li>Use the keyboard shortcut <strong>⇧ (Shift) + U</strong>.</li></ul><p>A unit will be unwrapped from the current layout.<br></p><p>A Block structure tab will be opened. </p></td></tr><tr><td>4</td><td>Navigate</td><td><p></p><ul><li>Use the keyboard shortcut <strong>⇧ (Shift) + ↑→↓←</strong>.</li></ul><p>Navigate through the layout:<br></p><ul><li><strong>⇧ (Shift) + left / right</strong> keys will change nesting (drop into children, drop out into parents);</li><li><strong>⇧ (Shift) + up / down</strong> keys will switch to the previous / next neighbor.</li></ul><p>A Block structure tab will be opened.</p></td></tr></tbody></table>

#### Customize Structural Container

Customize the structural container in the same way as the general [container](https://help.parta.io/no-code-editor/edit-layouts/customize-a-layout).<br>
