# Adding Sub-Assets

## Drag and drop

To add one or more Sub Assets to an existing asset, simply select the ones you want to add and drag them on top of another asset.

<figure><img src="https://3475550444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP70ItOegbJjXGyNP2E7%2Fuploads%2FfzLLiIecL8K9t8SfnGAg%2FDragAndDropAdd.png?alt=media&#x26;token=b6520b37-0656-47d9-8dc9-d6716137d8b5" alt="" width="375"><figcaption><p>Dragging SecondaryMission_1 on top of MainObjective</p></figcaption></figure>

You will be presented with a popup:

<figure><img src="https://3475550444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP70ItOegbJjXGyNP2E7%2Fuploads%2FbYqjNqrHUX6hp7zQhGmM%2FAddPopup.png?alt=media&#x26;token=72bd65ec-0181-4389-b6d1-48c35d04636f" alt="" width="375"><figcaption></figcaption></figure>

**Add**

By choosing to just Add, the dragged asset will be added as a sub-asset to the destination and disappear from its original location.

<figure><img src="https://3475550444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP70ItOegbJjXGyNP2E7%2Fuploads%2F8CvkedSB67rAxBbidGEq%2FAddedSubasset.png?alt=media&#x26;token=1630e5f6-5ab5-4f4c-80ff-d74ca049f01e" alt="" width="316"><figcaption><p>SecondaryMission_1 is now a sub-asset</p></figcaption></figure>

**Add and Keep Original**

By choosing this the original asset will stay in its place, and a new copy will be added to the destination. In this case, all references to the original asset will be preserved.

<figure><img src="https://3475550444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP70ItOegbJjXGyNP2E7%2Fuploads%2FA3F5FMZWn5S53ogp02bS%2FAddAndKeepOriginal.png?alt=media&#x26;token=8fd96b19-9870-4ad4-b923-baa02926e4ef" alt="" width="296"><figcaption><p>SecondaryMission_1 is now a sub-asset,<br>but the original is also preserved</p></figcaption></figure>

{% hint style="warning" %}
It's not possible to add sub-assets to assets that already feature sub-assets as a result of the import process.

For instance, adding sub-assets to an **.fbx model** will result in nothing, because as soon as the asset saves, the import process will reset the sub-assets to the default ones.

See a list of the types that can't be added as sub-assets on the [Exceptions page](https://tools.continis.io/subassets-toolbox/changelog).
{% endhint %}

## Create a new sub-asset

It is possible to create a new asset directly as a sub-asset. Simply right click on the destination main asset, and use the Create menu:

<figure><img src="https://3475550444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP70ItOegbJjXGyNP2E7%2Fuploads%2FmLPuJzfkrATarZUcFbkP%2FCreateMenuWithin.png?alt=media&#x26;token=58e5ce18-92f6-4fee-bf0a-db6558e3ffe0" alt="" width="563"><figcaption><p>Using the Create menu while an asset is selected, to create a new Material</p></figcaption></figure>

Once you select the asset type, the new asset is created and you can give it a name, like usual:

<figure><img src="https://3475550444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP70ItOegbJjXGyNP2E7%2Fuploads%2FYcUNc2tXwhB4wyHKkHrU%2FRename.png?alt=media&#x26;token=a9fd648d-c279-4d56-b980-3c725e5d3b48" alt="" width="294"><figcaption><p>Renaming the new asset</p></figcaption></figure>

Once the rename is confirmed, the new asset will be added as a sub-asset to the previous selection.

<figure><img src="https://3475550444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWP70ItOegbJjXGyNP2E7%2Fuploads%2FcEywju3s8TjRoQ9RLHPZ%2FCreatedWithin.png?alt=media&#x26;token=0812ef2e-2170-4e5a-820d-f4410d6d457f" alt="" width="259"><figcaption><p>The new Material is now a sub-asset</p></figcaption></figure>

{% 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 %}

## Renaming sub-assets

To rename a sub-asset, select it and use **right-click > Rename Sub-Asset**. You can also select it and hit Enter (on Mac) or F2 (on Windows).
