> For the complete documentation index, see [llms.txt](https://maxestla.gitbook.io/morph-target-stacker/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maxestla.gitbook.io/morph-target-stacker/basic-functionnalities.md).

# Basic functionnalities

Here is a list of some functions you should know about. (all of these can be called in Blueprints or c++)

```
AddSkeletalMeshToStacker
```

<figure><img src="https://3433536627-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7VTSiNFQ0Mj8wwUoFDsL%2Fuploads%2FV8zhP1961ZoUy2sWBrEH%2Fimage.png?alt=media&amp;token=83ee08d6-8b1c-4a8e-a08c-aefdb3680eea" alt=""><figcaption></figcaption></figure>

Adds the component to the stack, this should be done on initialization or as soon as possible.

```
UpdateMorphTarget
```

<figure><img src="https://3433536627-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7VTSiNFQ0Mj8wwUoFDsL%2Fuploads%2FeqSjUnu36PzPNvFa4mDn%2Fimage.png?alt=media&amp;token=416dec27-3ec7-4c2d-a3ab-6573a26588c6" alt=""><figcaption></figcaption></figure>

Call this function instead on the Unreal base one in order to update a morph target, this only works when the skeleton is referenced in the component.

```
ClearMeshMorphTargetPriority
```

<figure><img src="https://3433536627-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7VTSiNFQ0Mj8wwUoFDsL%2Fuploads%2FTxmPH16gkB5rjw50ro5i%2Fimage.png?alt=media&amp;token=8b0a371f-9050-4342-b9ca-4eebd6846f3c" alt=""><figcaption></figcaption></figure>

Call this function when a morph target is not in use anymore, be sure to call this function to free the priority slot.\
(there is multiple variants of this function to clear the data at diffrent levels)
