> For the complete documentation index, see [llms.txt](https://dante-3.gitbook.io/dante-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dante-3.gitbook.io/dante-docs/modular-experience-system/modular-game-feature-actions/engine-built-in-actions.md).

# Engine Built-in Actions

<figure><img src="https://4216330531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYsGXprPiDJ68FN8HnOaN%2Fuploads%2F4nsMdqM90FQgPcsJWf0r%2Fimage.png?alt=media&amp;token=26b9b302-a0c4-4608-a53d-950201990790" alt=""><figcaption></figcaption></figure>

### UGameFeatureAction\_AddComponents

Unreal Engine's built-in action. Performs runtime component injection on specified actor classes.

| Field            | Description                                                             |
| ---------------- | ----------------------------------------------------------------------- |
| ActorClass       | The actor class the component will be added to (e.g., `AMES_Character`) |
| ComponentClass   | The component to add (e.g., `UMyHealthComponent`)                       |
| bClientComponent | Whether to also create on the client side                               |
| bServerComponent | Whether to also create on the server side                               |

{% hint style="warning" %}
**Important:** For this action to work, the target actor must be registered as a `GameFrameworkComponentReceiver`. This registration is done automatically either by deriving from `AMES_` base classes or through the Auto Setup mechanism.
{% endhint %}
