# Removing Sub-Assets

## Drag and drop

To remove one or more sub-assets from an asset, simply select all the assets you want to remove, and drag them into an empty space in the Project window (or directly to another folder).

<figure><img src="https://3475550444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP70ItOegbJjXGyNP2E7%2Fuploads%2FV4hVEo6AqceiIlSlB2Ja%2FDragAway.png?alt=media&#x26;token=2394ccd9-410f-4bdb-bc38-b33728f57b27" alt="" width="337"><figcaption><p>Dragging two sub-assets out of their main asset</p></figcaption></figure>

Just like that, the sub-assets will be extracted and become individual main assets.

<figure><img src="https://3475550444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP70ItOegbJjXGyNP2E7%2Fuploads%2FKJpEAu6GsLqsjJ3olFuY%2FUnparented.png?alt=media&#x26;token=59084173-95bb-4f90-b76d-5a56b11ad31b" alt="" width="269"><figcaption><p>SecondaryMission_1 and _2 are now independent assets</p></figcaption></figure>

Extracting a sub-asset like this is immediate, and doesn't present a confirmation window.

{% hint style="success" %}
**Preserving References**

When adding a sub-asset using drag and drop, normally the references to the original asset will break. SubAssets Toolbox has a way to prevent this, and you can find more about it in [Patch References](https://tools.continis.io/subassets-toolbox/editor-workflows/patch-references).
{% endhint %}

## Deleting sub-assets

If you want to delete a sub-asset and not just unparent it, you can also select it and use **right-click > Delete SubAsset(s)**.

<figure><img src="https://3475550444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP70ItOegbJjXGyNP2E7%2Fuploads%2FthB4LQ5iGX80VpLFxbL2%2FConfirmDelete.png?alt=media&#x26;token=34aa6db9-6a6f-4631-baee-985a01249286" alt="" width="375"><figcaption><p>Confirmation for deleting a sub-asset</p></figcaption></figure>

Alternatively, you can hit Ctrl+Backspace (Windows) or Cmd+Backspace (Mac) as a shorcut.

{% hint style="info" %}
When deleting a sub-asset this way, Unity will present this warning in the console:

> The operation "Delete" cannot be executed because the selection is a root folder.

You can safely ignore it.
{% endhint %}
