# How to extend sill/header to the nearest vertical studs of a beam pocket?

1. Navigate to **Edit Elements**

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FvHsQFXHQAbKqmW63t2fx%2FEdit%20elements%20menu.gif?alt=media&#x26;token=a163b27f-13ca-4528-9885-c6f2f211bdcb" alt=""><figcaption></figcaption></figure>

2. Select **Trim/Extend Multiple Elements**&#x20;
3. Select the **reference element first**
4. Select the **elements you want to extend or trim**:

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FyOfGgQV1MR1MGITmofmV%2FTrim%20extend%20elements.gif?alt=media&#x26;token=95d93283-2455-4441-822c-da86e9bb5fd5" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Tip**: first, extend the sill/header up to the nearest vertical studs. Then trim the cripple studs up to the sill/header.
{% endhint %}

{% hint style="info" %}
If you can't find the answers you're looking for, please [contact our support team](https://helpdesk.besmart.software/support/tickets/new).
{% endhint %}
