# Character holding a Weapon

**URL:** <https://forums.unrealengine.com/t/character-holding-a-weapon/134296>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [December 1, 2019, 3:39pm UTC](https://forums.unrealengine.com/t/character-holding-a-weapon/134296 "2019-12-01T15:39:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c67096f6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c67096f6](https://forums.unrealengine.com/u/anonymous_user_c67096f6)\
**Post date:** [December 1, 2019, 3:39pm UTC](https://forums.unrealengine.com/t/character-holding-a-weapon/134296/1 "2019-12-01T15:39:58Z")

</div>

Let’s say I have a Character that can hold different types of weapons (pistol, shotgun or sniper).

I’ve built a Blueprint for the Character (BP\_Player), and 3 blueprints for the weapons (BP\_Pistol, BP\_Shotgun and BP\_Sniper).

I was thinking about using the “Spawn Actor From Class” node, which would be called every time the player selects a different weapon from the menu.

Is this the right approach?

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [December 1, 2019, 4:53pm UTC](https://forums.unrealengine.com/t/character-holding-a-weapon/134296/2 "2019-12-01T16:53:40Z")

</div>

Depends on the project. It’s not a bad approach. The easy approach is to always have all weapons in the BP but hidden from view. It’s also a silly approach when it comes to overhead.

I would try using a child actor and swapping its class. Not sure if this actually works that way, the child actor’s class may be bound to whatever you set in editor. It’s worth a look though as the child actor is basically your perfect pre-existing place holder…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c67096f6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c67096f6](https://forums.unrealengine.com/u/anonymous_user_c67096f6)\
**Post date:** [December 1, 2019, 6:46pm UTC](https://forums.unrealengine.com/t/character-holding-a-weapon/134296/3 "2019-12-01T18:46:30Z")

</div>

I will take a look at the child actor, thank you for the answer!

---

<div class="post-metadata">

**Author:** ![ixicalibur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ixicalibur](https://forums.unrealengine.com/u/ixicalibur)\
**Post date:** [December 1, 2019, 11:16pm UTC](https://forums.unrealengine.com/t/character-holding-a-weapon/134296/4 "2019-12-01T23:16:40Z")

</div>

> [@MostHost\_LA](#):
>
> The easy approach is to always have all weapons in the BP but hidden from view. It’s also a silly approach when it comes to overhead.

Can confirm, easy approch, silly as hell to do and very limiting. I remember doing this waaaayyyy back in 4.4. I think i might have a pic of it too. it’s a lot more work too if you want your character to be able to drop guns/items or add new ones to the game.

> **[Highres-Screenshot00019 hosted at ImgBB](https://ibb.co/Vmp67CP)**
>
> Image Highres-Screenshot00019 hosted in ImgBB

> **[Highres-Screenshot00020 hosted at ImgBB](https://ibb.co/Rzc4nGV)**
>
> Image Highres-Screenshot00020 hosted in ImgBB
