# Changing Blueprint Type in Spawn Actor from Class

**URL:** <https://forums.unrealengine.com/t/changing-blueprint-type-in-spawn-actor-from-class/452340>\
**Category:** Blueprint\
**Tags:** spawnactor, unreal-engine, question, Blueprint\
**Created:** [July 16, 2019, 8:39am UTC](https://forums.unrealengine.com/t/changing-blueprint-type-in-spawn-actor-from-class/452340 "2019-07-16T08:39:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FishOmelette](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FishOmelette](https://forums.unrealengine.com/u/FishOmelette)\
**Post date:** [July 16, 2019, 8:39am UTC](https://forums.unrealengine.com/t/changing-blueprint-type-in-spawn-actor-from-class/452340/1 "2019-07-16T08:39:51Z")

</div>

![282543-returnnode.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/0/c10d8ba85b38712e66979155d42d4a8af1840272.jpeg)

I am trying to spawn an equipment via a function. However, the blueprint type in which the Result Value node from the **Spawn Actor from Class** node is outputting is different from the blueprint type I want to set the equipment-to-be-spawned to. The variable I am storing the equipment in is **Head Item** which has a blueprint of **BP\_BaseInteractable\_Item** while the Result Value node is outputting a blueprint type of **BP\_BaseInteractable**

(BP\_BaseInteractable\_Item is a child of BP\_BaseInteractable)

This is the tutorial series I am following: [Unreal Engine 4 - Equipment System Part 7 - Attaching Items to Character (Part 22) - YouTube](https://www.youtube.com/watch?v=0GlC4z7LIWU&list=PLtpNaPTkjdL6jauQ8ZbiB9xe9ay_zfWNE&index=25) (Currently stuck at 5:35)

The naming of my Blueprints vary from the tutorial.

---

<div class="post-metadata">

**Author:** ![HarryHighDef](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HarryHighDef](https://forums.unrealengine.com/u/HarryHighDef)\
**Post date:** [July 16, 2019, 12:19pm UTC](https://forums.unrealengine.com/t/changing-blueprint-type-in-spawn-actor-from-class/452340/2 "2019-07-16T12:19:09Z")

</div>

I doubt many people are going to watch the tutorial…  
Can we have some screenshots of your BPs?  
Can we see the node that’s giving you trouble.

---

<div class="post-metadata">

**Author:** ![FishOmelette](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FishOmelette](https://forums.unrealengine.com/u/FishOmelette)\
**Post date:** [July 18, 2019, 11:38am UTC](https://forums.unrealengine.com/t/changing-blueprint-type-in-spawn-actor-from-class/452340/3 "2019-07-18T11:38:00Z")

</div>

I managed to figure it out. The Class of the input was set from the BP\_BaseInteractable and hence the spawned actor had to be of that class. I just had to change the input to the class of an item I wanted to set.
