# Insert Action¶

Insert Action is referring to a specific type of Action that a user has to insert an object to a specific position in order to complete it.

For instance, an insert action blueprint can be seen below:

Note

This blueprint inherits from the BPInsertAction class.

## Action Blueprint Explanation¶

1. Set Insert Prefab

This method sets the Action’s insert actors that will be spawned on Initialize. To set an insert Action you need to spawn two different objects, the grabbable (interactable) item and the final item. The first argument is the path to the interactable blueprint while the second is the path to the final.

The Grabbable Parent and the Final Parent arguments are optional and are used in case these objects need to be spawned as children of already spawned actors.

1. Set Hologram Object

The Hologram is set for initialization through the Set Hologram Object function.

1. Prefab Constructors

To create the correct actors you need to set their components as follows.

The Interactable actor needs a prefab constructor component, specifically the InteractablePrefabConstructor. From this component you need to define that this actor will be used in an insert action, this is done in the Prefab Interactable Type property. Next on the list is the final placement actor. The final placement actor needs the IntFinalPlacementConstruct component, where you need to setup the Prefab Type as InteractableFinalPlacement. In addition, you need to reference you interactable actor in the PrefabLerpPlacement component.

You can find theses actor pre-configured from the MAGES Menu, Create Prefab -> Insert Action.