> For the complete documentation index, see [llms.txt](https://cgtoolbox.gitbook.io/cgtoolbox-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cgtoolbox.gitbook.io/cgtoolbox-docs/pcg-random-assemblies/asset-action-helpers.md).

# Asset action helpers

Few scripted asset actions are available to help you create and spawn random assemblies from a right click on assets or actors:

***

Create a random assembly and all the data needed from a right click on a level instance asset:

<figure><img src="https://3339851461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuEJQQamuWymLVauXWDL%2Fuploads%2FeFCxnofSks75R1jq2Ijh%2Fimage.png?alt=media&amp;token=7f2fa314-634f-4684-8a8f-adedba0879ed" alt=""><figcaption></figcaption></figure>

***

Spawn Random Assembly from a right click on a [Random Assembly Definition](/cgtoolbox-docs/pcg-random-assemblies/random-assembly-definition.md) asset:

<figure><img src="https://3339851461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuEJQQamuWymLVauXWDL%2Fuploads%2F6FTRUC9m7iRqLkiRWY0H%2FPCGAssemblySpawnAction.gif?alt=media&amp;token=bea1d129-9b34-4cc3-a9a7-d2b7def95eb6" alt=""><figcaption></figcaption></figure>

***

Create a Variant from a selection of static mesh actors:

<figure><img src="https://3339851461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuEJQQamuWymLVauXWDL%2Fuploads%2FyHLOZDfAzsV3ZiO4LE1w%2FPCGAssemblyVariantMeshActor.gif?alt=media&amp;token=c2998faf-c9d3-42a9-a486-cca814e8939d" alt=""><figcaption></figcaption></figure>

***

Create a Variant from a selection of static mesh assets:

<figure><img src="https://3339851461-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuEJQQamuWymLVauXWDL%2Fuploads%2FnfOz479Px44EaxVJfFmc%2FPCGAssemblyVariantMeshAssets.gif?alt=media&amp;token=00e65ad8-8a3d-4b64-81c1-6fbb4326ea97" alt=""><figcaption></figcaption></figure>

***
