# Problem Set Child Actor Class

**URL:** <https://forums.unrealengine.com/t/problem-set-child-actor-class/450311>\
**Category:** Blueprint\
**Tags:** actor-blueprint, actor-location, unreal-engine, Blueprint, question\
**Created:** [June 8, 2019, 1:38am UTC](https://forums.unrealengine.com/t/problem-set-child-actor-class/450311 "2019-06-08T01:38:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azagore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Azagore](https://forums.unrealengine.com/u/Azagore)\
**Post date:** [June 8, 2019, 1:38am UTC](https://forums.unrealengine.com/t/problem-set-child-actor-class/450311/1 "2019-06-08T01:38:41Z")

</div>

Hello, I’m developing a game where my character has two swords at the same time behind his back.All works well.I wish now that he starts without a weapon and that he can pick up the swords that are placed on the ground.I create So two blueprints, one for each sword. Each blueprint has a collision box that I coded for when the character passes in and presses E it’s Set Child Actor Class. After that I create one Child Blueprint by Blueprint Parent (which are the Blueprints of the swords) to which I give statics mesh.I test each Child Blueprint separately and it works, when I pass over and press on E, a sword appears in the back of my character at the location I defined.The problem is that if I already have a sword hanging on the back of the character, the other does not want to hang on it (while they have two different places I then get an error from the Child Actor Set of the Sword Blueprint that does not work.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_be08fe41](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_be08fe41](https://forums.unrealengine.com/u/anonymous_user_be08fe41)\
**Post date:** [June 9, 2019, 6:52pm UTC](https://forums.unrealengine.com/t/problem-set-child-actor-class/450311/2 "2019-06-09T18:52:43Z")

</div>

Hello, can you provide screen of your set actor class code, it will be easier to help you.

---

<div class="post-metadata">

**Author:** ![Azagore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Azagore](https://forums.unrealengine.com/u/Azagore)\
**Post date:** [June 12, 2019, 10:41am UTC](https://forums.unrealengine.com/t/problem-set-child-actor-class/450311/3 "2019-06-12T10:41:07Z")

</div>

This is the blueprint of one Blueprint Parent.There is a box collision and if the player character overlap the box and press E the sword spawn on his back

---

<div class="post-metadata">

**Author:** ![Azagore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Azagore](https://forums.unrealengine.com/u/Azagore)\
**Post date:** [June 12, 2019, 10:47am UTC](https://forums.unrealengine.com/t/problem-set-child-actor-class/450311/4 "2019-06-12T10:47:26Z")

</div>

And this is the errors that I have when I try to equip one sword and i have already one sword on my back
